40 |
<head><title>GNU Classpath - javax.swing.plaf.metal</title></head> |
<head><title>GNU Classpath - javax.swing.plaf.metal</title></head> |
41 |
|
|
42 |
<body> |
<body> |
43 |
<p>Provides a cross-platform look and feel known as "Metal".</p> |
<p>Provides a cross-platform look and feel known as "Metal". To install this |
44 |
|
look and feel, add the following code (or something similar) |
45 |
|
near the start of your application:</p> |
46 |
|
<pre>try |
47 |
|
{ |
48 |
|
UIManager.setLookAndFeel(new MetalLookAndFeel()); |
49 |
|
} |
50 |
|
catch (UnsupportedLookAndFeelException e) |
51 |
|
{ |
52 |
|
e.printStackTrace(); |
53 |
|
}</pre> |
54 |
</body> |
</body> |
55 |
</html> |
</html> |