Ticket #20708

java.awt.Frame.getFont() returns null

오픈 날짜: 2010-02-18 11:15 마지막 업데이트: 2010-03-06 00:00

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

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
  • Resolution Update from None to Fixed
댓글 올리기

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

2010-02-20 22:38 Updated by: freebeans
  • Milestone Update from (None) to jvm0.4.8
2010-03-06 00:00 Updated by: freebeans
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2010-03-06 00:00

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login