Skip to main content

Blog Archive for evanx during April 2007

If it's gonna take a while to start up our Swing app, then we probably wanna display a splash screen. It's easy with Java6 - just add a -splash command-line option. Splash Screen, a waiting game: A part of "Gooey Beans, a trilogy in 42 parts" public class SplashTest {    static Logger logger = Logger.getLogger(SplashTest.class.getSimpleName());    final...
Earlier we considered using straight Base-64 for hiding sensitive data from prying eyes. Let's take it a step further and actually encrypt the data using a known password. Read "Encryptic, a cover story" Part of the "Jelly Beans" part of a trilogy in 42 parts https://code.google.com/p/vellum/wiki/Encryptic Code snippet We implement the following class to support password-based encryption...
We hear talk of introducing "native XML" into Java7. I'm not sure what form that might take? Embedding HTML and SQL (and JavaScript et al) "text" into Java is cumbersome eg. using multi-line concatenated string literals. And this doesn't lend itself towards leveraging IDEs eg. for auto-completion, error-detection and syntax-highlighting. What might work for me is allowing "annotations" that are...