aspose file tools*
The moose likes Features new in Java 7 and the fly likes GUI Features Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Features new in Java 7
Bookmark "GUI Features" Watch "GUI Features" New topic
Author

GUI Features

Rahul Dayal Sharma
Greenhorn

Joined: May 23, 2012
Posts: 8
Hi,
I would like to ask about any advancements in the GUI features of Java to make it more flexible and also a little bit more attractive. Also, what topics should be brushed upon to make a mini Calender with small panels and buttons like the ones in windows XP.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

Rahul Dayal Sharma wrote:
I would like to ask about any advancements in the GUI features of Java to make it more flexible and also a little bit more attractive. Also, what topics should be brushed upon to make a mini Calender with small panels and buttons like the ones in windows XP.

Are you really sure you are asking this in context of java 7 release? I am not sure if there were any remarkable changes for the Swing library in Java 7. But if you are really interested in GUI technology for Java, then have a look at JavaFX


Mohamed Sanaulla | My Blog
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

There were some minor improvements for Swing and Nimbus became the default look and feel, but as Mohamed has pointed out, JavaFX is the future...


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30309
    
150

If you want to read about GUI changes, Java 7 New Features Cookbook has two chapters on them. Normally, I wouldn't plug a similar book during a promo, but this book is nothing like the Well Grounded Java Developer. They target completely different things.


Chapter 7: Graphical User Interface Improvements
Introduction
Mixing heavyweight and lightweight components
Managing window types
Managing the opacity of a window
Creating a varying gradient translucent window
Managing the shape of a window
Using the new border types in Java 7
Handling multiple file selection in the FileDialog class
Controlling the print dialog box type
Using the new JLayer decorator for a password field
Up
Chapter 8: Handling Events
Introduction
Managing extra mouse buttons and high resolution mouse wheels
Controlling a focus when displaying a window
Using secondary loops to mimic modal dialog boxes
Handling spurious thread wakeups
Handling applet initialization status with event handlers


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Great spotting Jeanne - I'll have to get a copy of that book!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GUI Features