任务单 #20708

java.awt.Frame.getFont() returns null

开放日期: 2010-02-18 11:15 最后更新: 2010-03-06 00:00

报告人:
属主:
类型:
状态:
关闭
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:

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");
  }
}

任务单历史 (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
  • 处理结果 Update from to Fixed
评论

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

2010-02-20 22:38 Updated by: freebeans
  • 里程碑 Update from (无) to jvm0.4.8
2010-03-06 00:00 Updated by: freebeans
  • 状态 Update from 开启 to 关闭
  • Ticket Close date is changed to 2010-03-06 00:00

Attachment File List

No attachments

编辑

Please login to add comment to this ticket » 登录名