[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: |
cvs-commit at developer dot classpath dot org |
Subject: |
[Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics) |
Date: |
28 Sep 2005 14:09:07 -0000 |
------- Additional Comments From cvs-commit at developer dot classpath dot org
2005-09-28 14:09 -------
Subject: Bug 24077
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Lillian Angel <address@hidden> 05/09/28 13:59:14
Modified files:
. : ChangeLog
gnu/java/awt/peer/gtk: GdkFontMetrics.java GdkGraphics.java
javax/swing : JPopupMenu.java
Log message:
2005-09-28 Lillian Angel <address@hidden>
Fixes Bug #24077
* gnu/java/awt/peer/gtk/GdkFontMetrics.java
(GdkFontMetrics): Added a check for the font
being null. Fixed a NPE.
* gnu/java/awt/peer/gtk/GdkGraphics.java
(GdkGraphics): Added check if the font is null.
If it is, the font should be set to the default.
(setFont): If font parameter is null, this.font should not
be changed.
* javax/swing/JPopupMenu.java:
Fixed API documentation to say 'JDialog' rather than
'JWindow'.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5010&tr2=1.5011&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/gnu/java/awt/peer/gtk/GdkFontMetrics.java.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/gnu/java/awt/peer/gtk/GdkGraphics.java.diff?tr1=1.46&tr2=1.47&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JPopupMenu.java.diff?tr1=1.24&tr2=1.25&r1=text&r2=text
--
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, 2005/09/27
- [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 <=