• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Metal Frames...

I am using jdk1.2beta3.

How can i get MetalFrame ?
How about coloured MEtalFrame?
Please give me the code.
0
geostp
Asked:
geostp
1 Solution
 
mjenkinsCommented:
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now