I'm facing a problem with the look and feel that I found a bit strange, when I run the project through IDE all components are rendered according to the skin I selected, but when I generate the JAR, some components are not rendered with the theme I chose.
Both JAR and IDE are started using the code below:
public class App
{
public static void main(final String[] args) throws ParseException, UnsupportedLookAndFeelException
{
UIManager.setLookAndFeel(new SubstanceBusinessBlackSteelLookAndFeel());
SwingUtilities.invokeLater(new Runnable() {
public void run() {
Principal.main(args);
}
});
}
}
Someone has gone through something similar, the program works perfectly without any errors.
Here's the documentation link for the Substance library I'm using.
CMD java version:
>java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.8.0_05
In the IDE is the same: