Welcome!

The Source for All Things Java

Joe Winchester

Subscribe to Joe Winchester: eMailAlertsEmail Alerts
Get Joe Winchester via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Joe Winchester

At the moment there seems to be an extremely unhealthy obsession in software with the concept of architecture. A colleague of mine, a recent graduate, told me he wished to become a software architect. He was drawn to the glamour of being able to come up with grandiose ideas - sweeping generalized designs, creating presentations to audiences of acronym addicts, writing esoteric academic papers, speaking at conferences attended by headless engineers on company expense accounts hungrily seeking out this year's grail, and creating e-mails with huge cc lists from people whose signature footer is more interesting than the content. I tried to re-orient him into actually doing some coding, to join a team that has a good product and keen users both of whom are pushing requirements forward, to no avail. Somehow the lure of being an architecture astronaut was too strong and I ... (more)

SpringLayout: A Powerful & Extensible Layout Manager

The task of a layout manager is to position and size each component based on the size of its container. Each component has a preferred size that can be used to determine the real estate it wishes to occupy, as well as a minimum and maximum size. The preferred size is especially useful for components that contain user-visible strings whose size can change between development and deployment due to different fonts or different locale values, as the GUI is dynamically translated through resource bundles. Layout managers are powerful classes for dynamically recalculating the size and... (more)

SWT: A Native Widget Toolkit for Java - Part 2 of 2

The first part of this article (JDJ, Vol. 8, issue 4) introduced the Standard Widget Toolkit (SWT), and showed how graphical user interfaces can be created using some of the basic widgets found in SWT. In addition, layout classes were described that allow widgets to be arbitrarily positioned and sized within their parent. In Part 2, we continue where the previous article left off, describing some of the more advanced controls and concepts, including multithreading in the user interface. We conclude with a brief discussion of SWT graphics. Items Many of the advanced controls in SW... (more)

Desktop Java

Java is enjoying a renaissance on the desktop. There are several reasons for this The issues that plagued early client/server projects or Java desktop applications have largely been solved. Swing 1.4.2 delivered great performance improvements and good fidelity XP and GTK look and feel classes. Java Web Start now exists as a way to deploy programs to a client PC that run in a local JRE and enjoy the benefits of local caching, lazy update, and execution within Java's security model Java is becoming part of the default installation setup for many PCs vendors, such as Dell, HP, Gatew... (more)

What, Where, or Who Is Java?

Ask most people on the street what Java is and they might tell you it's an Indonesian island. If you happen to bump into some programmers, they'll probably tell you it's a language that reads like C++ but has garbage collection and a virtual machine to make it portable. The connection is reputedly the syllogism where the island gives name to its coffee, people drink coffee while surfing the Web, and Java is the computer language of the Web. Most folks don't mistake volcanic islands with programming languages and there's enough clear water between Jakarta and San Jose to avoid an... (more)