Skip to main content

John O'Conner

John O'Conner is a software architect, consultant, author, and speaker. After many years developing the internationalization features of the Java platform at Sun Microsystems, he is now actually trying to use those features in real world projects.


joconner's blog

Managing resources in the Swing Application Framework (JSR 296)

Posted by joconner on June 19, 2007 at 9:36 PM PDT

Instead of loading and working with ResourceBundle files directly, you will use the ResourceManager and ResourceMap framework classes to manage resources. A ResourceMap contains the resources defined in a specific ResourceBundle implementation. A map also contains links to its parent chain of ResoureMap objects.

Core Java Technologies Tech Tips

Posted by joconner on June 14, 2007 at 12:07 PM PDT

The Sun Developer Network has a few newsletters that you can subscribe to. One of the newsletters is Core Java Technologies Tech Tips. I still can't see that title without smiling.

Swing Application Framework: Lifecycle Events

Posted by joconner on June 12, 2007 at 12:29 AM PDT


All applications have a lifecycle of events that are called in a specific order.

Swing Application Framework Architecture

Posted by joconner on June 7, 2007 at 1:28 PM PDT


Two singleton classes help you manage your application: ApplicationContext and Application.

POJOs on the Desktop with the Java Persistence API

Posted by joconner on June 4, 2007 at 11:27 PM PDT


I mentioned in an earlier post that the Java Persistence API (JPA) could be used on the desktop.

The Swing Application (Un)Framework

Posted by joconner on June 3, 2007 at 11:07 PM PDT

The Swing Application Framework (JSR 296) is hardly a framework at all, not in the typical sense anyway. Frameworks are often big, heavy-structure libraries that force a specific application design. Although they may pay great dividends if you have the patience to master them, frameworks often require a huge commitment because of their complexity.

Configuring NetBeans for the Java Persistence API

Posted by joconner on May 23, 2007 at 3:28 PM PDT

The Java Persistence API (JPA) is part of the EJB 3.0 spec and simplifies how you save application entities in a database. You can now use POJOs for both application business logic and persistence. Did you know that you can also use this API for desktop applications?

I'm working on a full-length article that describes how to use the JPA on the desktop.

Simplify App Development with The Swing Application Framework

Posted by joconner on May 10, 2007 at 8:27 AM PDT

Have you ever fretted over the difficulty of creating a desktop application with a Swing-based user interface (UI)? Developers have sometimes complained that building Swing applications is just too hard. Sun has taken much of the feedback and has tried to simplify the process of building Swing-based applications on the desktop.

JavaFX -- Simplifying UI for Content Developers

Posted by joconner on May 8, 2007 at 10:58 AM PDT

What is JavaFX? It's a set of Java technologies that will make it easier to develop rich multimedia content on the Java platform. At it's core, it's a new scripting language that runs on desktops and mobile devices.

Java University: Building Dynamic Web Sites with Ajax and Dojo

Posted by joconner on May 7, 2007 at 10:49 AM PDT

I'm sitting in the "Web 2.0: Building Dynamic Web Sites with Ajax and the Dojo Toolkit" session. It's a half-day session, one of many choices for the day. The course title makes it sound advanced -- or at least I thought it was more advanced. In reality, the course is an introduction, pretty basic stuff. For a web 2.0 newbie, the level is probably right.