Solved

Metal Frames...

Posted on 1998-08-27
1
174 Views
Last Modified: 2011-04-14
I am using jdk1.2beta3.

How can i get MetalFrame ?
How about coloured MEtalFrame?
Please give me the code.
0
Comment
Question by:geostp
1 Comment
 
LVL 3

Accepted Solution

by:
mjenkins earned 50 total points
ID: 1222645
To set the look and feel for an application to metal, use:

UIManager.setLookAndFeel( "com.sun.java.swing.plaf.metal.MetalLookAndFeel" );

Unfortunately, this will not effect JFrame's. Frames will always get the "native" look and feel because they are implemented as native peers. The closest you can get is to create a JInternalFrame. The internal frame will have the specified L&F
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
null output 3 35
jsp login check 12 43
Java Eclipse Loop 3 21
learn programming 8 42
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question