Automate GUI tests for Swing applications
Automation is necessary for frequent and consistent testing, which is the foundation of agile development. However, acceptance tests of GUI applications are not always easy to automate. This article explains a simple way of automating Java Swing application acceptance tests, starting from Swing components' unit tests and extending them to acceptance tests without human intervention.
Swing: Tiling Windows
JDesktopPane as it is doesn't provide tiling and cascading. Here's the routine for tiling. Its priority is to get as many windows as possible to have the same size. Here's the code...
Swing: Cascading Windows
JDesktopPane as it is doesn't provide tiling and cascading. Here's a simple routine for cascading.
The code is implemented in static methods for simplicity but some might prefer to include the methods in a subclass of JDesktopPane or a DesktopManager...
How well will Java(2D) and Avalon Play Together?
Avalon is Longhorn's new graphics engine, and as it looks it will make visual effects such as blurring much more common. How will Sun counter this?
Java Gaming: 2D Rendering
Part 1 of this article ("Java Gaming: Understanding the Basic Concepts," [JDJ, Vol. 9, issue 10]) covered the basics of a game framework. Part 2 goes into more depth on the actual 2D rendering specifics and the resulting demo: the Ping program.
Open Source Laszlo Systems Interview
Laszlo Systems recently released their flash-based rich client platform to the open source community. David Temkin, the CTO of Laszlo Systems has been interviewed in which he answers questions on where Laszlo fits in, how it changes web development, why open source?, and competition.
Why I choose SWT against Swing
For the Jeopardy project, I have been searching for the right toolkit. Swing is a well known, already tested option while SWT stands there sparkling, brand new toolkit, which has been the building blocks of Eclipse. I have already known that it would be a hard choice.