Hi All,

I am using Substance 5.0 and notice sometimes it throws the following exception 
and eventually my app slows down very slowly. This does not happen without 
Substance. Despite what the exceptions says the app is using it.

Please any help appreciated.

-Tony


Exception in thread "AWT-EventQueue-1" java.lang.IllegalStateException: 
Substance delegate used when Substance is not the current LAF
        at 
org.jvnet.substance.utils.SubstanceColorSchemeUtilities.getColorScheme(SubstanceColorSchemeUtilities.java:298)
        at 
org.jvnet.substance.SubstanceCheckBoxUI.getIcon(SubstanceCheckBoxUI.java:189)
        at 
org.jvnet.substance.SubstanceCheckBoxUI.getDefaultIcon(SubstanceCheckBoxUI.java:250)
        at javax.swing.plaf.basic.BasicRadioButtonUI.getPreferredSize(Unknown 
Source)
        at javax.swing.JComponent.getPreferredSize(Unknown Source)
        at Jlib.GenericAWT.ComponentTitledBorder.getBorderInsets(Unknown Source)
        at javax.swing.JComponent.getInsets(Unknown Source)
        at java.awt.GridBagLayout.ArrangeGrid(Unknown Source)
        at java.awt.GridBagLayout.arrangeGrid(Unknown Source)
        at java.awt.GridBagLayout.layoutContainer(Unknown Source)
        at java.awt.Container.layout(Unknown Source)
        at java.awt.Container.doLayout(Unknown Source)
        at java.awt.Container.validateTree(Unknown Source)
        at java.awt.Container.validateTree(Unknown Source)
        at java.awt.Container.validateTree(Unknown Source)
        at java.awt.Container.validate(Unknown Source)
        at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
        at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[Message sent by forum member 'tdanecito' (tdanecito)]

http://forums.java.net/jive/thread.jspa?messageID=316992

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to