Comment 5 for bug 937200

Revision history for this message
Shake (shake234) wrote :

Small sample application:

import javax.swing.JFrame;
import javax.swing.JLabel;

/**
 * @author Johannes Schneider (<a href="mailto:<email address hidden>"><email address hidden></a>)
 */
public class Tester {
  public static void main( String[] args ) {
    JFrame frame = new JFrame("da Title");
    frame.setSize( 600, 100 );
    frame.setVisible( true );
    frame.setLocationRelativeTo( null );

    JLabel daLabel = new JLabel();
    daLabel.setText( daLabel.getFont().toString() );
    frame.getContentPane().add( daLabel );
  }
}