Hi,
I was working with some look and feel options and tried used FH Look &
Feel. I had problems working with the laf strait away, had to put some
directories that where inside the jar into same directory of the sql
workbench (this has to be some problem with the laf itself).
Then when i got the laf working i got sick of it and just tried to
apply another one, but i can't access the look and feel options, got
this error message (& stack trace):
ERROR 09.02.2009 14:20:14 OptionPanelPage.getPanel() - Could not
create panel: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.get(Unknown Source)
at java.awt.Component.getFontMetrics(Unknown Source)
at javax.swing.JComponent.getFontMetrics(Unknown Source)
at workbench.gui.settings.LnFOptionsPanel.<init>(LnFOptionsPanel.java:
61)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at workbench.gui.settings.OptionPanelPage.getPanel
(OptionPanelPage.java:61)
at workbench.gui.settings.SettingsPanel.valueChanged
(SettingsPanel.java:95)
at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown
Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown
Source)
at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown
Source)
at javax.swing.JList.setValueIsAdjusting(Unknown Source)
at javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(Unknown
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at workbench.gui.settings.SettingsPanel.showSettingsDialog
(SettingsPanel.java:213)
at workbench.gui.actions.OptionsDialogAction$1.run
(OptionsDialogAction.java:47)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
FH Look & Feel:
http://sourceforge.net/projects/fhlaf
Using SQL Workbench/J, Build 103
Java version 1.5.0_15
Windows XP