Events and listeners
JPanel and Box
Giving your Java application a Windows look and feel
By default, Swing components are given
what is called the Metal Look and Feel. This gives your application a look
which is quite different from many non-Java applications.
To make your Java application look like it is a "native" Windows or Mac OS
(etc) application, add the following line of code at startup:
Now, your application will look like other applications on the
platform they are running on.
Unless otherwise stated, the Java programming articles and tutorials on this site are written by Neil Coffey.
Suggestions are always welcome if you wish to suggest topics for Java tutorials or programming articles,
or if you simply have a programming question that you would like to see answered on this site. Most topics
will be considered. But in particular, the site aims to provide tutorials and information on topics that
aren't well covered elsewhere, or on Java performance information that is poorly described or understood.
Suggestions may be made via the Javamex blog (see the site's front page for details).
Copyright © Javamex UK 2009. All rights reserved.