• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

GUI Features

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Great spotting Jeanne - I'll have to get a copy of that book!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic