Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: What's New in Swing?

A new skinnable look and feel (Synth), printing support for |JTable| components, the ability to add components directly to a frame, these are a few of the new features in Swing for J2SE 5.0.

Tutorial Details:

Learn more in this transcript of a recent chat held with two key members of the Swing engineering team: Scott Violet and Shannon Hickey.

MDR-EdO: Welcome to today's Java Live chat on what's new in Swing. J2SE 5.0 adds a number of new JFC/Swing features such as a skinnable look and feel (Synth) and printing support for JTable components. In today's chat, you'll have a chance to ask questions about these new features and get answers from two key members of the Swing engineering team: Scott Violet and Shannon Hickey. So let's begin by outlining what, in fact, is new in Swing. Scott and Shannon, can you give us a rundown of the significant new features?

Scott Violet: Welcome all! Swing has a number of exciting new features for 5.0. The big ticket item is no longer do you have to do frame.getContentPane().add(), you can now do: frame.add(). Seriously though, 5.0 includes two new look and feels. Synth, which is a skinnable look and feel, and Ocean which is a new an improved theme for metal. Beyond that we made table printing extremely easy! And of course we improved performance, reduced per instance size, as well as a number of minor API additions. I should also add that we're now in the midst of planning for the next big release: 6.0. It's looking like this will be a very exciting release as well, with a number of long sought after features.

KevinM: What about any improvements in Threading?

Scott Violet: For 5.0 we did not do any threading changes. For 6.0 there are a number of projects underway, including the ability to trigger events on the event dispatch thread to be processed. We also really, REALLY want to get SwingWorker into core. That'll be the generified version we talked about at this year's JavaOne.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
What's New in Swing?

View Tutorial:
What's New in Swing?

Related Tutorials:

Focus on Swing - JavaWorld - July 1998
Focus on Swing - JavaWorld - July 1998
 
Programming Java threads in the real world, Part 5 - JavaWorld - February 1999
Programming Java threads in the real world, Part 5 - JavaWorld - February 1999
 
Start customizing Swing's editor pane -- patch the Swing HTMLEditorKit - JavaWorld - January 1999
Start customizing Swing's editor pane -- patch the Swing HTMLEditorKit - JavaWorld - January 1999
 
Java Tip 72: Press Escape to close your Swing dialog windows
Java Tip 72: Press Escape to close your Swing dialog windows
 
Problems with Swing's new XMLOutputStream class - JavaWorld August 1999
Problems with Swing's new XMLOutputStream class - JavaWorld August 1999
 
Java Tip 77: Enable copy and paste functionality between Swing's JTables and Excel - JavaWorld
Java Tip 77: Enable copy and paste functionality between Swing's JTables and Excel - JavaWorld
 
Make a splash with Swing - JavaWorld Tip 104
Make a splash with Swing - JavaWorld Tip 104
 
Become a programming Picasso with JHotDraw - JavaWorld February 2001
Become a programming Picasso with JHotDraw - JavaWorld February 2001
 
Embed Java code into your native apps - JavaWorld May 2001
Embed Java code into your native apps - JavaWorld May 2001
 
Conquer Swing deficiencies in MDI development - JavaWorld May 2001
Conquer Swing deficiencies in MDI development - JavaWorld May 2001
 
Take command of your software
Take command of your software
 
Remote-control Java
Remote-control Java
 
Speed up your Swing GUI construction with better building blocks
Speed up your Swing GUI construction with better building blocks
 
Chart a new course with JFreeChart
Chart a new course with JFreeChart
 
Create client-side user interfaces in HTML, Part 2
Create client-side user interfaces in HTML, Part 2
 
Interesting ...
Interesting ...
 
Koalog Configurator v1.0
What is Koalog ConfiguratorTM? Koalog ConfiguratorTM is a configurator written in JavaTM. It comes with two graphical user interfaces (a Swing and web one), an XML importer and a maintenance application. With Koalog ConfiguratorTM, users can rapidly
 
JDemo
JDemo is the Java demonstration framework. Its concept is similar to the one of JUnit. As supplement to test driven software development, JDemo provides a new approach of demo driven development: When developing software, you write short code snippets (
 
Ease Swing development with the TableModel Free framework
This article introduces the TableModel Free (TMF) framework which eliminates the need to use TableModels with Swing JTables. The TMF framework allows for more configurable JTables by moving all of table-specific data outside of the compiled code and into
 
What's New in Swing?
A new skinnable look and feel (Synth), printing support for |JTable| components, the ability to add components directly to a frame, these are a few of the new features in Swing for J2SE 5.0.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.