Browsing articles from "October, 2005"
Oct
27
2005

Joshua Bloch Podcast (… and I’m loving the Java Posse Podcast!)

I’m right into this podcasting deal of late, and I’ve gotta point you to The Java Posse for a great Java-centric podcast with excellent interview content. This last week they’ve interviewed Joshua Bloch from Google (of JDK collections fame – and writer of that excellent book) and it was a very interesting listen. In particular it’s interesting to see that Google run on C++ for the core search stuff, and Java a lot of everywhere [...]

Oct
25
2005

Handling Window Close Events in JFace

Just so I remember how to do this next time… JFace apps work a little different to normal SWT applications. In an SWT app, you’d normally register an event listener and check for SWT.Close. If you do that, you might not get the behaviour you expect (I found that my current shell was gone by the time I got the event!). JFace actually make all this a whole lot easier. You just need to override [...]

Oct
24
2005

Launching an external browser url from SWT

In developing PasswordSafeSWT, I’ve never really been able to get URL launching working successfully (“Go to Password Safe Website” type stuff) on all platforms. I’ve toyed with BrowserLauncher (which seems to work great on Win32 and Linux but causes my OSX box all sorts of grief). Well, after checking out some of the SWT newsgroups, the answer is much simpler than I thought. You can launch arbitrary programs using the Program class, and they launch [...]

Oct
22
2005

PasswordSafeSWT 0.4 is out

PasswordSafeSWT is an Java/SWT port of the popular Win32 blowfish-based password manager Password Safe. This new version (0.4) fixes a number of annoying bugs from the 0.3 release. In particular: Prompt for saving unsaved entries on close (thanks Neil) Tree views now display correctly Remembering your active view between invocations Proper exiting from the opening dialogs Version information now available in about dialog Edit dialog now defaults Ok button Preference changes are now applied immediately [...]

Oct
6
2005

opencsv 1.0 ships

Ending my obsession with all things comma-delimited, I’ve deployed 1.0 final of opencsv to Sourceforge. This version adds the capability to supply custom separator and quote chars, and pretty much rounds out everything I want to do with CSV. Read the quickstart, then grab the files from the download page. Happy delimiting!

Glen Smith

About Glen

Co-author Grails in Action