logo
May
26

Hacking my first JFace Preferences code

I’m up to the stage in my PasswordSafe port where I need to add an options dialog. In the original app it’s a five-tabbed dialog with quite a few options, so I thought I might have a crack at using JFace Preferences. Wow! Thanks to some great help from this example I was up and running in no time. SWT Designer supports a wizard for whipping up the GUI of a Preferences Page, so I could hack...
May
19

SWT is good, JFace is great, RCP looks flippin awesome!

When I started PasswordSafeSWT, it was a pure SWT app, created almost entirely using SWT Designer. The productivity of that GUI tool is awesome. But the code lacked a little maintainability with all those anonymous event handlers (as easy as they were to edit graphically), so it was time to clean things up. For my next step, I moved things over to JFace to take advantage of an...
May
16

My Mac Mini has arrived! (and my PasswordSafeSWT app looks just fine!)

My Mac Mini has arrived and I’m loving every second of. For my first tinker I installed Eclipse (and Tiger since it wasn’t pre-installed but did ship on a CD in the box). You just can’t believe how small the mini is till you see it freeing up acres of your desk. My first take is “Boy this OS has got some eye candy!”. That dashboard stuff is very swish! For my next trick I...
May
13

Mockrunner saves my backside again…

I’ve blogged before about my love for MockRunner, and it just saved my backside once again… this time from JMS grief. We were debugging some tricky thread sync problems related to JMS, and trying to setup the MQ environment to even write the test was proving just too difficult. Then I was thinking… maybe we could just mock out the whole JMS infrastructure… and sure enough, the...
May
9

Fun with SWT Tray Icons… it’s setMinimized(false)

I’ve just finished the Tray Icon integration of my PasswordSafeSWT app, and almost all of it was a snack. Catch the minimize window event, hide the window, show the tray icon. Catch the defaultSelection on the tray icon, show the window, hide the tray. The only thing that caught me out was when I double click on the tray icon and show the window, it’s still minimized. Really not such a good...

« Previous Entries

logo
Powered by WordPress | Designed by Elegant Themes