Tíquete #20708

java.awt.Frame.getFont() returns null

: 2010-02-18 11:15 Última Atualização: 2010-03-06 00:00

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
Nenhum

Details

java.awt.Frame.getFont() returns null.

import java.awt.*;

public class FrameFontTest
{
  public static void main(String[] args) throws Exception
  {
    Frame frame = new Frame("Frame font test");
    frame.setVisible(true);
    if (frame.getFont() == null)
      System.out.println("NG");
      
    System.out.println("OK");
  }
}

Ticket History (3/4 Histories)

2010-02-18 11:15 Updated by: freebeans
  • New Ticket "java.awt.Frame.getFont() returns null" created
2010-02-20 22:37 Updated by: freebeans
  • Resolução Update from Nenhum to Fixed
Comentário

Fixed. Now Frame.getFont() and Window.getFont() returns default font.

2010-02-20 22:38 Updated by: freebeans
  • Marco Update from (Nenhum) to jvm0.4.8
2010-03-06 00:00 Updated by: freebeans
  • Estado Update from Aberto to Fechado
  • Ticket Close date is changed to 2010-03-06 00:00

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Login