FlexDock: Views Tutorial

I have been writing a little project using FlexDock and thought I’d do a write-up. R.J. Lorimer’s tutorial on FlexDock is a good starting place, if you haven’t read it, you may want to read it before trying this. Most of the examples you’ll find create all the dockables and place them on the screen in a very static way. FlexDock offers a way to persist layouts between sessions; which will be needed if you plan to take your application beyond the demo stage. FlexDock has a very nice user’s guide, but the advanced features (views, perspectives, persistance, and themes) aren’t documented yet.

FlexDock Demo screen shot. Click  for larger image.
Download Demo Source Code (Zip file).

(Continued)

Mustang Tabs

Most of the features added to Mustang I’ve felt non-committal on. But at last they are addressing a pet peeve of mine, the JTabbedPane. Read Alexander Potochkin’s post TabComponents in action. It’s stuff like this that make me wish swing’s release cycle was not tied to the JVM.

Action Groups

I’ve been implementing a reusable toolbar manager and needed a way to support toggle buttons. I implemented a (bad) temporary solution and then R.J. Lorimer publishes Swing: Comingling Toggle Buttons and Actions on Java Lobby. Great timing.