Hello!
Have u tried to use your LAF with NetBeans?
Because crashes when tries to render a JTable saying ("New
Color is Null"):
java.lang.IllegalArgumentException: New color is null
at javax.swing.JTable.setGridColor(JTable.java:720)
at
org.openide.explorer.view.TreeTableView.initializeTreeTable(TreeTableView.java:292)
at
org.openide.explorer.view.TreeTableView.<init>(TreeTableView.java:100)
at
org.netbeans.core.actions.OptionsAction$OptionsPanel$TTW.<init>(OptionsAction.java:393)
at
org.netbeans.core.actions.OptionsAction$OptionsPanel.initGui(OptionsAction.java:184)
at
org.netbeans.core.NbMainExplorer$ExplorerTab.componentShowing(NbMainExplorer.java:461)
at
org.netbeans.core.actions.OptionsAction$OptionsPanel.componentShowing(OptionsAction.java:269)
at
org.openide.windows.WindowManager.componentShowing(WindowManager.java:208)
at
org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:853)
at
org.netbeans.core.windows.WorkspaceImpl.addToShownTcs(WorkspaceImpl.java:589)
[catch] at
org.netbeans.core.actions.OptionsAction$1.run(OptionsAction.java:94)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at
java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
To reproduse this error please use Netbeans with your LAF and
try to access the options (Tools->Options);
Please take a look or at least tell me where can I start debugging if
u guess where the problem is.
Thanks
Adrian Rotea
Logged In: YES
user_id=874872
Ok...
Seems that i found the problem...
The error resides in the definition of some ColorUIResource that is used
by NetBeans...
The Map key for the color is "control"...
If I put in the default table of LfLookAndFeel this color, the problem gets
solved.
Anyway the question is why the "control" color is null in your LAF
because this is the first time i found this kind of problem?
I would appreciate any answer.