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

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, Gateway and others.    SWT provides a set of rich native controls over and above those offered by AWT, and many Java developers are finding this a useful GUI toolkit to use in their end-user applications.   HTML is no longer being viewed as the only viable client for application development. A numb... (more)

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

The Standard Widget Toolkit (SWT) is a Java class library that allows you to create native user interfaces. It's designed to provide efficient, portable access to the underlying facilities of the operating system on which it's implemented. SWT uses native widgets wherever possible, giving an SWT program a native look and feel and a high level of integration with the desktop. In addition, SWT includes a rich set of controls such as tree, table, and tab folder. This article introduces SWT by describing some of the basic concepts and classes. Hello World: A Simple SWT Program The e... (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)

One Size Fits No One

At a presentation a number of years ago given by Josh Bloch he made a comment that Java as a language hit the "sweet spot" of programming. His metaphor was based around the fact that the language was straightforward to learn and that rather than containing many esoteric coding constructs, writing and understanding a Java program was a relatively easy task. I think Java is at a very critical point at the moment where it is slipping away from its sweet spot and this worries me. Two things are to blame: annotations and aspects. An annotation allows a programmer to flag a part of a p... (more)

i-Technology Viewpoint: Java's Not Evolving Fast Enough

A programming API represents a documented contract between a function that provides some kind of computing service and those who wish to use it. In Java, once an API is used there is a physical contract between the two that the compiler and JVM enforce. If at some point in the future the author of the API wishes to make changes, they are limited in scope; if the author renames methods or removes arguments, programs that are bound to the previous signature will no longer run. The change can be published with the new version of the class library or framework so that users can upgra... (more)