 |
 |
 |
 |
 |
 |
Taming Tiger: Get pane relief with Tiger
How many times have you written code with frame.getContentPane().add(), or forgotten to get the content pane before calling add() and ended up with an Error thrown at runtime? As consultant John Zukowski shows you in this Taming Tiger tip, these problems are a thing of the past.
|
 |
Articles |
 |
15 Feb 2005 |
|
| |
Taming Tiger: The Collections Framework
You're probably quite familiar with the new Java 5 language support for generics, the concurrent utility libraries, and their effect on the Collections Framework, but those aren't the only changes to the Collections Framework libraries in Tiger. This month, John Zukowski covers several other enhancements, including the new collection types and the additional features of existing classes and interfaces.
|
 |
Articles |
 |
19 Jul 2005 |
|
| |
Taming Tiger: AWT grows up
The Abstract Window Toolkit is the basis of the Swing component set. Follow along with John Zukowski as he discusses the aspects of AWT that changed with the 5.0 release of the Java 2 platform. These include PointerInfo and MouseInfo for recovering pointer position and z-order management for screens with overlaid components.
|
 |
Articles |
 |
24 May 2005 |
|
| |
Taming Tiger: Beyond the basics of enumerated types
In November 2004, Brett McLaughlin got you started using enumerated types with the Java 5.0 platform. In this month's Taming Tiger tip, John Zukowski explains how to work with enumerated classes and their predefined methods and shows how to add constructors, override methods, and have instance variables.
|
 |
Articles |
 |
19 Apr 2005 |
|
| |
Taming Tiger: Virtual machine updates
In this installment of Taming Tiger, John Zukowski shows you how the latest Java virtual machine improves startup time, reduces memory requirements, and improves performance. With Tiger, you get a shared data archive, new thread scheduling algorithms, and a fatal error handler for those times when things don't go well.
|
 |
Articles |
 |
15 Mar 2005 |
|
| |
Taming Tiger: Concurrent collections
What began as author Doug Lea's util.concurrent package has morphed into JSR-166 and into the Tiger release of the J2SE platform. What the new library provides is a set of utilities commonly needed in concurrent programs. If you are interested in optimizing multithreaded access to your collections, you've come to the right place.
|
 |
Articles |
 |
16 Jun 2004 |
|
| |
Taming Tiger: Context popup menus
Tired of adding the same code all the time to show a JPopupMenu over a component? As John Zukowski shows you in this latest installment of Taming Tiger, J2SE 1.5 finally adds common code to the JComponent class so you don't have to.
|
 |
Articles |
 |
12 May 2004 |
|
| |
Taming Tiger: Formatted output
Tiger brings printf-style formatted output to the world of Java programming, and this month, columnist John Zukowski discusses all facets of the C-inspired support for printf and format strings.
|
 |
Articles |
 |
02 Apr 2004 |
|
| |
Taming Tiger: Loading Properties from XML
The Properties class is an old favorite, around since the beginning of Java programming time with very few changes. The Tiger release of J2SE enhances this class, which allows you not only to use it to specify key-value pairs on a single line separated by an equal sign, but also to use XML files to load and save those key-value pairs. In this installment of Taming Tiger, John Zukowski demonstrates how to use this updated work horse.
|
 |
Articles |
 |
25 Feb 2004 |
|
| |
Taming Tiger: Ocean and Synth meet Metal
Now that Tiger is an official release, it's time to explore even more exciting differences between the 1.4 version of the Java 2 Standard Edition platform and 5.0 of the Java 2 Development Kit. In this installment of Taming Tiger, UI expert John Zukowski explores the newly available Ocean and Synth look and feels. Now, even non-programmers can develop custom look and feels without writing code or having the benefit of a good eye!
|
 |
Articles |
 |
19 Oct 2004 |
|
| |
Taming Tiger: Get environment variables and invoke subprocesses
Accessing platform-specific information hasn't always been easy. While you could certainly create processes with Runtime.exec(), dealing with differences across platforms to build parameter sets often led to headaches. In addition, the getenv() method of System has been deprecated since the beginning of Java programming time. Now, as columnist John Zukowski shows you, the new ProcessBuilder class makes accessing platform-specific information easier than ever.
|
 |
Articles |
 |
30 Sep 2004 |
|
| |
Taming Tiger: Default exception handling in threads
Tracking down unexpected runtime exceptions can be a real drag, and just getting the default thread name and stack trace isn't always enough. In this installment of Taming Tiger, Java developer John Zukowski shows how you can customize the output by replacing the default behavior. He also contrasts the old way of customizing output by subclassing ThreadGroup with the new way by providing your own customUncaughtExceptionHandler.
|
 |
Articles |
 |
10 Aug 2004 |
|
| |
Taming Tiger: Are you SCJP 5 certified?
In April 2005, Sun updated its certification for J2SE 5. If you're interested in getting certified, or updating your current certification, this article provides a quick-and-dirty overview of the skills you'll need.
|
 |
Articles |
 |
30 Sep 2005 |
|
| |