A Collection of Swing Tutorials Swing is a major area within Java and one that is subject not just to complex components (such as JTable) but to different issues on different platforms! This section provides numerous tutorials to help with Swing (and client) oriented development.
Swing Interfaces & Java Video Drivers
A JavaLobby Thread asks: Could AWT/Swing become interfaces with different implementations? Swing could be one, SWT could be another. Also, do we need Java Video Drivers?
Provide your end-users powerful dockable toolbar and menu bar (a.k.a. command bar) functionality
Uses the latest in Office 2003 user-interface style
Includes four build-in standard themes you saw on Windows XP.
Seamless integration with Windows XP display property.
Dock command bar on all four sides of a central client area in the main window
Float command bar above the main window
Resizing of the floating command bar
Hide components from command bar when there is no enough space to show all of them. Those hidden components can still be accessed from command bar chevron.
Show and hide command bars via context menu
Load and save command bars state and position directly to data files or persist layout data into Windows registry or input/output stream
Definitive Guide to Swing for Java 2, Third Edition From The Author One of the things I'm trying to do with this edition is to expand things a little. With prior editions, my goal was to explain Swing. If it wasn't Swing, it wasn't in the book, even if it was part of what you would normally do with Swing. In this edition, I plan on adding content on topics like printing, the AWT layout managers, and deploying with Java Web Start and the Java Plug-in. While they aren't pieces of Swing specifically, they are important/related enough that they warrant discussion with the rest of Swing.
Amazon Description
Completely revised, expanded, and updated for version 1.4 of the Java 2 Standard Edition (J2SE), this Third Edition not only adds updated programming examples of key Swing features but rounds out the book with key concepts like printing so the title provides a more complete reference for those interested in com
1118
ponent-based user interface programming in Java. Key areas of new and updated material include drag and drop, accessibility, printing, focus management, and deployment.
From the author:"One of the things I'm trying to do with this edition is to expand things a little. With prior editions, my goal was to explain Swing. If it wasn't Swing, it wasn't in the book, even if it was part of what you would normally do with Swing. In this edition, I plan on adding content on topics like printing, the AWT layout managers, and deploying with Java Web Start and the Java Plug-in. While they aren't pieces of Swing specifically, they are important/related enough that they warrant discussion with the rest of Swing."
Autocompleting JComboBox - new feature Again, I updated the article about automatic completion inside JComboBox. It now comes with better compatibility - JDK 1.2 should work. I also added an interesting new feature called maximum match. It behaves like a second automatic completion... Thanks a lot to all of you who contributed reporting issues. A soon coming update will adress performance when handling lot of items (>30.000) and probably examples of integration with some databinding frameworks.
Talking app - in four lines of code
Vasanth Dharmaraj describes how he added speech synthesis support to his database monitor by adding four Lines of FreeTTS code. Pretty cool indeed!
Flying Saucer: The 100% Java XHTML Renderer The Flying Saucer team, led by Joshua Marinacci, has published Beta Release 3 of XHTMLRenderer, a library for embedding rich XHTML and CSS content in desktop applications. The Flying Saucer XHTMLRenderer currently supports most of CSS 2.1, and it can be used anywhere a program needs rich styled content. They want more users, contributors, and anyone else who's interested, so please take a look!
SwingML 1.1 The SwingML xml markup application has released version 1.1. New features include "support for asynchronous server calls. POST and GET operations are performed in a multithread mode, support for granular UI rendering, support for showDocument() operation, a new FOREGROUND atribute to LABEL element, a new FOREGROUND attribute and BACKGROUND to TEXTAREA element, post-selected and post-all where changed to Post-Selected and Post-All for TABLE and LIST, true and false attributes where changed with True and False, and the null attribute was changed with None."