Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GUI Features

 
Rahul Dayal Sharma
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great spotting Jeanne - I'll have to get a copy of that book!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic