Skip to main content

Blog Archive for evanx during November 2006

We use GroupLayout to assemble simple subpanels. For complicated forms, programming layout becomes (very) difficult, and so it's saner to use a GUI designer such as Netbeans. Click here to read "Group Layout Therapy, a psychological drama" A part of "Gooey Beans, a trilogy in 42 parts" Demo Our Address Form is in play again.   (AddressForm, 150k/400k, unsandboxed...
It is often convenient to execute long tasks synchronously, that is to say, to wait for the task to complete, so that we can then do something appropriate like update the GUI. In order for our GUI to remain responsive while our long task is executing, we can use foxtrot.sf.net which manages to hook into the EventDispatchThread.pumpEvents() method to keep the events rolling. Salientology In case...
Click here to read "Gooey Logger, a story inspired by real events" A part of "Gooey Beans, a trilogy in 42 parts" Spoiler Warning! The following pitch is a spoiler for the actual um, article... Stairwell Pitch Logging is a fundamental tool of software development. But using System.out.println() is for monitoring is um, not very convenient. So we rather implement a...
It seems that we can popup a JOptionPane from a background thread in a SwingWorker without the sky falling in. "But why?" Ps. The title of this series, "Invetigation in process" comes from an episode of The Office when "Gareth Keenan Investigates!" but mispels "investigate" on his makeshift sign which for his "office." Heh heh. Hee hee. He He. Hmm.
The different Linux distributions shouldn't be Fedora, Ubuntu, or Suse. They should be Server Edition, Developer Edition and Desktop Edition. Server Edition will include JEE, PostgreSQL et al, Desktop will include OpenOffice, Java, Gnome/KDE et al, and the Developer Edition, Eclipse and um, Netbeans!? One would hope so! The Non-Free Trap The common approach of Linux distros has been to exclude...
The top story today is... Java is GPL'ed! The future begins today! And now for something completely unmomentous... Gooey Action, A part of "Gooey Beans, a trilogy in 42 parts" Here's the Address Form demo using actions. As you can see we have actions that have been configured with icons and keystrokes, and we use these to configure toolbar buttons and menu items. "But Why?" So that we can...
Come of think of it, this can be Java versus Python and all the other scripting languages, ouch! Beauty. No legacy underscores. Nuf sed. Java has long, clear, unabbreviated names. With Java, IDEs come standard so that you don't have to type those long names. Phew! Sooo many vendors support Java, except Microsoft. Microsoft supports IronPython, which doesn't help my pro Java arguments, so ssh...
Here is an extract from an upcoming article, called "Enhanced DTs" about EDT "boilerplate" programming, which i'm publishing in smaller more manageable doses. (Manageable for me.) It starts off looking at moving our boilerplate sideways into a separate class, which we present here, and then later we'll look at using CGLIB's interceptor mechanism (which CGLIB calls an "enchancer," hence the...
Beauty. Let's face it, using uppercase for method names is mental. Free enterprise stacks, free frameworks, free IDEs, free everything! Buy now pay later. java.net, jcp.org - you can brew Java. Java is opensource - you can brew your own java. Java is supported by all vendors, except Microsoft. So that's two reasons in one ;) Swing, the sweetest GUI'est thing :) Just add Webstart. Java runs Java...