|
Hi, We are having trouble to make JGoodies Look and Feel work
when deploying under Weblogic 8.1, whereas it works fine using the Development
Runner under Eclipse. For info: our ULC applet is launched from a JSP which
carries the session context from another J2EE web application forward into ULC.
We’re using following code to more or less force the use of JGoodies (which
is not a problem because we expect our app to only run under Windows): import com.jgoodies.plaf.LookUtils; import com.jgoodies.plaf.Options; import com.jgoodies.plaf.plastic.theme.SkyBlue; import com.jgoodies.plaf.plastic.PlasticLookAndFeel; import javax.swing.*; /** * This helper class can set
different UIManagers. * * @author Etienne Studer * @see UIManager */ public class UIManagerHelper { public static
void setJGoodiesLookAndFeel() {
PlasticLookAndFeel.setMyCurrentTheme(new SkyBlue());
UIManager.put(Options.USE_SYSTEM_FONTS_APP_KEY, Boolean.TRUE);
UIManager.put("ClassLoader", LookUtils.class.getClassLoader());
setLookAndFeel(PlasticLookAndFeel.class.getName()); } static void
setSystemLookAndFeel() {
setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } private static
void setLookAndFeel(String lookAndFeel) {
try {
UIManager.setLookAndFeel(lookAndFeel);
} catch (Exception e) {
e.printStackTrace(); } } } This code is called as follows: UIManagerHelper.setJGoodiesLookAndFeel(); As far as we can see we are referencing the JGoodies library
plastic-1.1.3.jar in all the places we should. Anyone can help? Thanks in advance & kind regards, Teunis Biemond |
- [ULC-developer] JGoodies Look and Feel when deploying Biemond, Teunis
- RE: [ULC-developer] JGoodies Look and Feel when deplo... Pavkovic, Ilja
- RE: [ULC-developer] JGoodies Look and Feel when deplo... Janak Mulani
- RE: [ULC-developer] JGoodies Look and Feel when deplo... Biemond, Teunis
