| Other |
|---|
| 1.4.2 mantisFixed |
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
Name: pa48320 Date: 07/17/2002
Run the following class:
public class q
{
public static void main(String[] a)
{
javax.swing.JFrame t = new javax.swing.JFrame("test");
t.setBounds(0,0,100,100);
t.getContentPane().setLayout(new java.awt.FlowLayout));
t.getContentPane().add(new javax.swing.JTextField("WLabel"));
t.getContentPane().add(new javax.swing.JLabel("WLabel"));
t.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
t.setVisible(true);
}
}
The label should appear in a bold font. Notice that the W is slightly chopped off on the left side. The textfield appears fine. If you switch this to yuse the Windows look and feel then the W is cut off quite a bit and the textfield leading W is also cut off.
======================================================================
|