JDK for Solaris Developer's Guide

User Interface

Internationalization

Refer to the documentation at http://java.sun.com/j2se/1.5.0/docs/guide/intl/index.html.

Java Sound Technology

Refer to the documentation at http://java.sun.com/j2se/1.5.0/docs/guide/sound/index.html.

Java 2DTM Technology

Added 2D features include expanded Linux and Solaris printer support, new methods for creating fonts from files and streams, and new methods related to VolatileImages and hardware acceleration of images. A number of internal changes to text rendering code greatly improve its robustness, performance, and scalability. Other performance work includes hardware-accelerated rendering using OpenGL (disabled by default).

Refer to the documentation at http://java.sun.com/j2se/1.5.0/docs/guide/2d/index.html.

Image I/O

The Image I/O system now has readers and writers for BMP and WBMP formats.

Refer to the documentation at http://java.sun.com/j2se/1.5.0/docs/guide/imageio/index.html.

AWT

Version 1.5.0 features many AWT enhancements and bug fixes, including some that have often been requested by our customers. Most notably, the new MouseInfo class makes it possible to determine the mouse location on the desktop. New Window methods make it possible to specify the default location for a newly created window (or frame), appropriate to the platform. Another Window enhancement makes it possible to ensure that a window (or frame) is always on top. (This feature does not work for some window managers on Solaris/Linux.) In the area of data transfer, the new DropTargetDragEvent API allows the drop target to access transfer data during the drag operation.

AWT http://java.sun.com/j2se/1.5.0/docs/guide/awt/index.html.

Swing

With the 1.4.2 release we provided two new look and feels for Swing: XP and GTK. Rather than taking a break, in 1.5.0 we're providing two more look and feels: Synth, a skinnable look and feel, and Ocean, a new theme for Metal. Beyond look and feels, we've added printing support to JTable, which makes it trivial to get a beautiful printed copy of a JTable. Lastly, after seven years, we've made jFrame.add equivalent to jFrame.getContentPane().add().

Refer to the documentation at Swing http://java.sun.com/j2se/1.5.0/docs/guide/swing/index.html.