[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics)
From: |
langel at redhat dot com |
Subject: |
[Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics) |
Date: |
27 Sep 2005 20:56:10 -0000 |
------- Additional Comments From langel at redhat dot com 2005-09-27 20:56
-------
A UI delegate should install its default font on a JComponent only if the
existing font is null or implements UIResource.
For some reason, many UI delegates are not setting the default font. It is
correct for Component.getFont to return null when no default font has been set.
I am looking into which UIs have not set their default fonts.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24077
- [Bug swing/24077] New: Cannot create JFileChooser due to NPE (getFontMetrics), hendrich at informatik dot uni-hamburg dot de, 2005/09/27
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), fitzsim at redhat dot com, 2005/09/27
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), langel at redhat dot com, 2005/09/27
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), langel at redhat dot com, 2005/09/27
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics),
langel at redhat dot com <=
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), langel at redhat dot com, 2005/09/28
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), cvs-commit at developer dot classpath dot org, 2005/09/28