Solved

Metal Frames...

Posted on 1998-08-27
1
169 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Java virtual machine monitoring tools 3 39
java continue statement 10 72
countHi challenge 25 84
mapAB Challlenge 35 85
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now