hi Tom, On Wed, 2006-12-06 at 15:53 -0500, Thomas Fitzsimmons wrote: > I committed this patch to trunk and classpath-0_93-branch.
Also installed on the generics branch now. > This fixes the problem in MegaMek that my getFont patch worked around. For the record, this patch alone doesn't fix the issue I was seeing with jedit (selecting Plugins -> Plugins Options... menu - stack trace below). So I also installed the getFont patch on the generics branch. Cheers, Mark [error] BeanShellAction: java.lang.NullPointerException [error] BeanShellAction: at gnu.java.awt.peer.gtk.GtkToolkit.getFontMetrics(GtkToolkit.java:318) [error] BeanShellAction: at java.awt.Component.getFontMetrics(Component.java:2193) [error] BeanShellAction: at javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(BasicLabelUI.java:134) [error] BeanShellAction: at javax.swing.JComponent.getPreferredSize(JComponent.java:1339) [error] BeanShellAction: at javax.swing.tree.DefaultTreeCellRenderer.getPreferredSize(DefaultTreeCellRenderer.java:570) [error] BeanShellAction: at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2749) [error] BeanShellAction: at javax.swing.tree.VariableHeightLayoutCache.countRows(VariableHeightLayoutCache.java:257) [error] BeanShellAction: at javax.swing.tree.VariableHeightLayoutCache.countRows(VariableHeightLayoutCache.java:282) [error] BeanShellAction: at javax.swing.tree.VariableHeightLayoutCache.countRows(VariableHeightLayoutCache.java:282) [error] BeanShellAction: at javax.swing.tree.VariableHeightLayoutCache.update(VariableHeightLayoutCache.java:238) [error] BeanShellAction: at javax.swing.tree.VariableHeightLayoutCache.getBounds(VariableHeightLayoutCache.java:353) [error] BeanShellAction: at javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:659) [error] BeanShellAction: at javax.swing.JTree.getPathBounds(JTree.java:2688) [error] BeanShellAction: at javax.swing.JTree.scrollPathToVisible(JTree.java:2232) [error] BeanShellAction: at org.gjt.sp.jedit.gui.OptionsDialog.selectPane(OptionsDialog.java:406) [error] BeanShellAction: at org.gjt.sp.jedit.gui.OptionsDialog.selectPane(OptionsDialog.java:380) [error] BeanShellAction: at org.gjt.sp.jedit.gui.OptionsDialog.selectPane(OptionsDialog.java:355) [error] BeanShellAction: at org.gjt.sp.jedit.gui.OptionsDialog.init(OptionsDialog.java:334) [error] BeanShellAction: at org.gjt.sp.jedit.gui.OptionsDialog.<init>(OptionsDialog.java:50) [error] BeanShellAction: at org.gjt.sp.jedit.options.PluginOptions.<init>(PluginOptions.java:39) [error] BeanShellAction: at java.lang.reflect.Constructor.constructNative(Native Method) [error] BeanShellAction: at java.lang.reflect.Constructor.newInstance(Constructor.java:334) [error] BeanShellAction: at bsh.Reflect.constructObject(Reflect.java:668) [...]
signature.asc
Description: This is a digitally signed message part