The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


JDK 7 is moving forward!

Posted by alexfromsun on May 4, 2009 at 8:29 AM PDT

Java desktop team is working hard to move JDK7 forward.

I am happy to announce that Nimbus Look and Feel has been forward ported to JDK 7.
Among all other changes, the latest build #b57 contains the fix for 6591875: Nimbus Swing Look and Feel.

It is a real pleasure to see the Nimbus LaF under "javax.swing.plaf" package! Check it out with the recent JDK 7 binaries.

JXLayer will also be there soon, stay tuned...

Thanks
alexp

Related Topics >> Swing      
Comments
Comments are listed in date ascending order (oldest first)

I would also like the substance look and feel to be added - this is my personal favorite.

Another critical improvement most developers will like to see in JDK7 is MIGLayout. It is a excellent layout, and I wonder why till now it is not planned for JDK7. Is it another NIH syndrome ? For Form development, MigLayout or JGoodies layout is really time-saving and indispensable , and I hope the Java desktop team really consider adding it for the sake of Java Swing/JavaFX 's future.

Some improvements for Jdk7 ? - Listening for real clipboard data change (currently on flavour change is detected which has limited use) ? As of now, inefficient clipboard polling running in a thread can be used to detect data change but it prove problematic for large image (imagine polling for image in clipboard if the image is large) - global keyboard hook. Currently require JNI solution to listen for keys outside Java application.

I agree that MigLayout should definately be included in JDK7 and available for use in JavaFX.

I hate layout of swing. I just never used to it. complicated and not ... natural. It seem MigLayout could be a good add. I vote for it !

Please don't use a "text config" based layout engine as a new savior to layouts! A long time ago in a galaxy far far away, I put a nice simple layer over GridbagLayout that greatly simplifies how it is used and makes it trivial to read layouts of hand typed code. Have a look at http://packer.dev.java.net for what I think should really be the new face of rectangular layouts.

SwingWorker is good for some things, but it still is missing the simple "on-swing", "off-swing", "on-swing", "off-Swing" sequences that are common for multi-component data updates. Please look at http://swingutil.dev.java.net and see what the org.wonderly.swing.SyncThread class does. It provides several ways that complex GUI updates can be managed for readily with proper syncronization. In addition, we need the Context ClassLoader to work in the EDT, so we remember it at construction, and set it in play when running code in the EDT. We also wanted to cover JAAS Subject use in the EDT as well, for more complex applications that involve security and remote code download.