Skip to main content

Evan Summers

Evan Summers studied mechanical engineering for 8 years, but still didn't know which way to turn a screw driver. So he tinkered with Java, and eventually found "that Swing." Now he lives in a shelter for Swing code junkies, and works on aptframework.dev.java.net.

 

evanx's blog

The Prodigal Android

Posted by evanx on August 18, 2010 at 12:32 PM EDT

I enjoyed reading the Android=Java blog just now, and agree with Osvaldo's sentiments.

Betwixt the Brackets

Posted by evanx on July 16, 2010 at 5:19 AM EDT

So we need to convert objects into XML and back again, eg. to store some data in the database in XML format, because otherwise maybe we just gonna have too many tables and joins and what-not.

Trivial Templating

Posted by evanx on July 9, 2010 at 1:20 PM EDT

Notwithstanding the fact that anyone in their right mind (which rules me out) would use Apache Velocity or FreeMarker for templating, we present a trivial templating helper class, where for instance we have an HTML template as follows to send a confirmation email to a customer.

Swing Event Pump Redux

Posted by evanx on December 21, 2009 at 5:04 AM EST

Having blogged this hack some years ago (Event Pump DTs), today i actually used it.

Automatic Binding

Posted by evanx on September 1, 2008 at 1:55 PM EDT

In the Gooey MvnC prequel, we advocate an MVC-type architecture for programming a Swing UI panel, using convention-over-configuration to automate event handling, thread switching and beans binding.

On Computers, God, the Universe and UI

Posted by evanx on August 4, 2008 at 6:57 PM EDT

We gonna consider the definition and evolution of computer UI. But first, what is a computer? It's a number crunching machine that interfaces to a human being, innit. Actually, "data crud'ing" is probably a better depiction than "number crunching" in the world of business information systems.

An idea for a builder thingymajig

Posted by evanx on July 24, 2008 at 5:17 PM EDT

Let's say we have a following class with Swing components.

public class PersonEditor {
    JPanel mainPanel;
    JTextField firstname;
    JTextField surname;
    JFormattedTextField dateOfBirth;
    ...
    public     
  
  

Gooey Event Proxy

Posted by evanx on July 21, 2008 at 4:02 PM EDT

In the Gooey MvnC prequel, we consider an MVC-type separation for programming a Swing UI panel, and convention-over-configuration to automate events, threading and beans binding.

A short history of Web UI programming

Posted by evanx on June 26, 2008 at 10:18 AM EDT

Web 1.0, XUL, Ajax, Laszlo, Flex and Silverlight have a common approach - declare the UI view using markup (HTML or XML), and use JavaScript to handle the UI events and manipulate the UI. JavaFX/Swing is a notable exception - which is exciting and/or risky?!

MVnC architecture for Swing GUIs

Posted by evanx on June 19, 2008 at 9:52 AM EDT

Rather than put our "application logic" in a "messy" view class, we create a separate "controller" class, with event handlers.

We wish this controller class to be as neat and tidy as possible eg. with minimal boilerplate or much else besides our application logic.