You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
right before I setup the JideTabbedPane as follows :
JideTabbedPane tabPanel = new JideTabbedPane();
In windows, it works well.
Somehow it doesn't work well in linux and keeps throwing ClassNotFoundException in my app.
It can be traced to this line in LookAndFeelFactory class calling the method
else if (isWindowsLookAndFeel(lnf)) { ...
/**
* As of Java 10, com.sun.java.swing.plaf.windows.WindowsLookAndFeel is no longer available on macOS thus
* "instanceof WindowsLookAndFeel" directives will result in a NoClassDefFoundError during runtime. This method
* was introduced to avoid this exception.
*
* @param lnf
* @return true if it is a WindowsLookAndFeel.
*/
public static boolean isWindowsLookAndFeel(LookAndFeel lnf) {
if (lnf == null) {
return false;
}
else {
try {
Class c = Class.forName(WINDOWS_LNF);
return c.isInstance(lnf);
}
catch (ClassNotFoundException | NoClassDefFoundError ignore) {
// if it is not possible to load the Windows LnF class, the
// given lnf instance cannot be an instance of the Windows
// LnF class
return false;
}
}
}
Please help!
The text was updated successfully, but these errors were encountered:
I see that the latest code seems to have removed this problem but the released "jide-oss-3.7.6.jar" does not contain any ".class" files inside it.
Also the Maven repository seems to contain only older versions of Jide: https://mvnrepository.com/artifact/com.jidesoft/jide-oss
I have WebLaF installed.
I called the following
LookAndFeelFactory.installJideExtension(LookAndFeelFactory.VSNET_STYLE);
right before I setup the JideTabbedPane as follows :
JideTabbedPane tabPanel = new JideTabbedPane();
In windows, it works well.
Somehow it doesn't work well in linux and keeps throwing
ClassNotFoundException
in my app.It can be traced to this line in LookAndFeelFactory class calling the method
else if (isWindowsLookAndFeel(lnf)) { ...
Please help!
The text was updated successfully, but these errors were encountered: