
It is difficult to have an overview of whole API changes of Java Tiger. The following are some of the enhancements which is in JDK5.0 to support these days complex application.
Java Naming and Directory Interface TM (JNDI)
JNDI provides the following new features.
• javax.naming.NameClassPair is enhanced to access the fullname from the directory/naming service
• Support for standard LDAP controls like Manage Referral Control, Paged Results Control and Sort Control is also added.
• Support for manipulation of LDAP names is now available.
Java Sound Technology
- The Ports are now available on all platforms.
- The MIDI device i/o is now available on all platforms.
- The optimized direct audio access is implemented on all platforms. It is enabled by default on systems which offer native mixing (i.e. Linux ALSA with hardware mixing, Solaris Mixer enabled, Windows DirectSound).
- The new real-time Sequencer works with all MIDI devices and allows unlimited Transmitters.
- The sound.properties configuration file allows choice of default devices
- MidiDevices are enhanced and now they can query connected Receivers and Transmitters.
- AudioFormat , AudioFileFormat , and MidiFileFormat now have properties that allow further description and qualification of the format.
- A set of methods are introduced to allow easier retrieval of lines from Audio System.
- The Sequencer interface is extended with loop methods, for seamless looping of specific portions of a MIDI sequence.
Java 2D TM Technology
Some new 2D features added to expand Linux and Solaris printer support. New methods added for creating fonts from files and streams A number of internal changes are done to text rendering code greatly improve its robustness, performance, and scalability. Other performance work includes hardware-accelerated rendering using OpenGL (disabled by default).
Image I/O
The Image I/O system now has readers and writers for BMP and WBMP formats.
AWT
Version 5.0 features many AWT enhancements and bug fixes, including some that have often been requested by our customers. 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.
Swing
In 5.0 two more look and feels: Synth, a skinable look and feel, and Ocean, a new theme for Metal are provided. Also printing support to JTable is available in 5.0, which makes it trivial to get a beautiful printed copy of a JTable. Lastly, the jFrame.add is now equivalent to jFrame.getContentPane().add().
Java Discussion
- - Java web application
- - Difference between BMT an
- - Replace getParameterValue
- - Interviewing Next week -
- - Sudoku solver




