Client-Side Development Section Index | Page 7
The original accessible API set missed some features in the AccessibleComponent interface. Since the main interface couldn't be altered, Sun introduced a secondary interface AccessibleExtendedComp...more
While the Java Access Bridge (http://java.sun.com/products/accessbridge/) exposes the Swing components to the platform, it seems not all screen readers understand this bridge. You can't just use a...more
Either by setting the AWT_TOOLKIT environment variable or the awt.toolkit system property. The AWT_TOOLKIT environment variable can be set to XToolkit or MToolkit depending upon which of the Unix...more
J2SE 5.0 reimplemented the AWT Toolkit to remove the Motif and Xt dependency and improve performance. Solaris still keeps the Motif default but Linux machines uses the newer XToolkit as its default.more
According to the release notes: On Windows Vista, there is a more restrictive sandbox for signed applets. A user has fewer privileges than if they were running on another Windows OS. On a Wind...more
Chet Haase at Sun claims "Java on Vista: Yes, it Works" at http://weblogs.java.net/blog/chet/archive/2006/10/java_on_vista_y.html. There is more said there than can be written here.more
How can I print the contents of a JTable as a report with title, date/time etc. as a formatted report on a paper?
How can I send an attachment without having to use a physical file?
Apart from the accept all filter, until Java 6, there were no predefined filters. Java 6 introduces the FileNameExtensionFilter, allowing you to define one or more types of files for the user to s...more
That would be with the TempoControl. Get it from the Player and call the setTempo() method, passing in a value for the number of milli-beats per minute.more
Use the setLoopCount() method of Player to playback media with looping. A value of -1 means forever. A value of 1 is the default. 0 is invalid.more
You need to attach a PlayerListener to the Player.
You have to get the MetaDataControl object for the associated player. There are four predefined keys that you can ask for: TITLE_KEY, DATE_KEY, COPYRIGHT_KEY, and AUTHOR_KEY, though other informat...more