substance

How can I get the text color of a button using the Substance LaF?

In my Java application I have to custom-paint a control and for that I need to use the same font colors as JButton. (Enabled and disabled) I don't want to hard-code them, because the user can change the Substance skin at runtime. I'm aware of the ColorSchemes but I'm not sure how to proceed once I have the color scheme of the current s...

Java Substance look and feel problem

I have a problem with substance look and feel. I'm trying to set Office 2007 LAF as descibed here. try { UIManager.setLookAndFeel("org.pushingpixels.substance.api.skin.SubstanceOfficeBlue2007LookAndFeel"); }catch(Exception ex) { System.out.println("Exception:"+ ex.getMessage()); } But when i run thi...

Substance UI & undecorated JDialog/JFrame

I have noticed that while using the Substance UI for Java that when I set a new JFrame or JDialog to undecorated it is not honored. e.g. frame.setUndecorated(true); frame.setVisible(true); When run under Substance shows a decorated frame. When run under system default L&F shows an undecorated frame. Anyone have ideas for working ar...

Substance 6.1 upgrade gives Substance delegate used when Substance is not the current LAF exception

I'm trying to upgrade my app to use the latest drop of substance L&F but the problem is that I got the Following exception Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Substance delegate used when Substance is not the current LAF [component JButton in window App under Substance Business Blue Steel] at o...