CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Lillian Angel <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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