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

The Standard Widget Toolkit (SWT) is the GUI toolkit used by Eclipse. The same folks that worked on the Common Widget (CW) library for IBM/Smalltalk developed it, this time for Java. Now, it's maintained as part of the Eclipse Platform project and distributed under an open source license, the Eclipse Public License (EPL). One key design point of SWT is that it uses native functionality on each operating system and, at the same time, presents a common, portable API. Joe Winchester, Desktop Java Editor for Java Developer's Journal, asked Steve Northover (SWT Team Lead) recently whether he'd be happy to answer some questions about SWT and, after talking to his colleagues and a few developers, here is the result. JDJ: SWT supports many different widget toolkits with a common programming API. What's the hardest thing about making all this work? Steve: Specifying an API t... (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)

J2SE and Open Source - Living Together in Perfect Harmony

Open source and J2SE, living together in perfect harmony Side by side on my computer keyboard, Oh yeah, why can't we? Java has been the springboard for some of the most successful open source projects today including JBoss, NetBeans, and Eclipse. Several folks though have felt the missing piece was an actual open source implementation of the runtime. Some view Sun's stewardship of Java and the JCP as being too controlling, while others believe it is an essential benign rule that preserves the integrity of the language. The view taken by Sun execs is that the JCP is essential to pr... (more)

JDJ Editorial: IT Olympics

There are a number of esteemed contests for the greatest and fastest software developers among us - events where we can pit our coding prowess against fellow brainiacs and like-minded techies. I think it's high time we had an alternative set of awards, suited not to aspiring budding Turing machine engineers, but rooted more in the humdrum real, rather than artificial academic, world. The Herring Rouge Chase To win this award you have to think that when a piece of code you authored isn't working correctly that the problem isn't your error but instead lies elsewhere in the broken ... (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)