sjPlot / seaglass

Automatically exported from code.google.com/p/seaglass
0 stars 0 forks source link

Errors in seaglass not working for me. #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I created sample program
2.added the jar file in libraries
3. setted the 
UIManager.setLookAndFeel("com.jtattoo.plaf.acryl.AcrylLookAndFeel");
in try catch block.

& Got the following error while other UI are working file:-
---------------------------------------------------------

run:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: 
sun/swing/plaf/synth/SynthUI
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1871)
    at javax.swing.UIDefaults.getUIClass(UIDefaults.java:683)
    at javax.swing.UIDefaults.getUI(UIDefaults.java:755)
    at javax.swing.UIManager.getUI(UIManager.java:1002)
    at javax.swing.JPanel.updateUI(JPanel.java:126)
    at javax.swing.JPanel.<init>(JPanel.java:86)
    at javax.swing.JPanel.<init>(JPanel.java:109)
    at javax.swing.JPanel.<init>(JPanel.java:117)
    at javax.swing.JRootPane.createGlassPane(JRootPane.java:545)
    at javax.swing.JRootPane.<init>(JRootPane.java:365)
    at javax.swing.JFrame.createRootPane(JFrame.java:277)
    at javax.swing.JFrame.frameInit(JFrame.java:258)
    at javax.swing.JFrame.<init>(JFrame.java:181)
    at mdi.<init>(mdi.java:21)
    at mdi$2.run(mdi.java:174)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
    at java.awt.EventQueue.access$000(EventQueue.java:101)
    at java.awt.EventQueue$3.run(EventQueue.java:666)
    at java.awt.EventQueue$3.run(EventQueue.java:664)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: sun.swing.plaf.synth.SynthUI
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 43 more
BUILD SUCCESSFUL (total time: 2 seconds)
------------------------------------------------------------------
How can i resolve the error

Original issue reported on code.google.com by ashishpa...@gmail.com on 20 Apr 2012 at 7:57

GoogleCodeExporter commented 9 years ago
which java version do you use and on which platform do you run your code?

Original comment by denny.tr...@gmail.com on 28 Apr 2012 at 12:25

GoogleCodeExporter commented 9 years ago
I'd be willing to bet this is a Java7 thing. We're working on it.

Original comment by kahuxtable on 28 Apr 2012 at 4:12

GoogleCodeExporter commented 9 years ago
I am using jre7 & jdk1.7.0 with NetBeans IDE 7.0.1

Original comment by ashishpa...@gmail.com on 28 Apr 2012 at 8:58

GoogleCodeExporter commented 9 years ago
Yes, Sea Glass doesn't work on Java 7 unless you check out the 
integration_rossi branch and build it yourself. That version is broken on the 
Mac. This issue is a duplicate. I'm folding it into issue 77. Please make any 
additional comments there.

Original comment by kahuxtable on 28 Apr 2012 at 2:13