Results 1 to 3 of 3

Thread: LookAndFeel

  1. #1
    Sarmad.as is offline Member
    Join Date
    Nov 2013
    Posts
    27
    Rep Power
    0

    Default LookAndFeel

    i'm trying to use Synthetica look and feel in main java Application but i got the following error in netbeans I don't get it why

    Java Code:
    try
    	{
    	  UIManager.setLookAndFeel("de.javasoft.plaf.synthetica.SyntheticaBlackStarLookAndFeel");
    	
    	}
    	catch (Exception e)
    	{
    	  e.printStackTrace();
    	}
    Executing com.javafx.main.Main from D:\Softwares\Importent\don't Open plzz\Website_downloader\dist\run1546392038\Website _downloader.jar using platform C:\Program Files\Java\jdk1.7.0_17/bin/java
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.javafx.main.Main.launchApp(Main.java:658)
    at com.javafx.main.Main.main(Main.java:805)
    Caused by: java.lang.NoClassDefFoundError: de/javasoft/plaf/synthetica/SyntheticaLookAndFeel
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :791)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.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.j ava:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:4 23)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 56)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:266)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUt ilities.java:1874)
    at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:579)
    at OWD.GUI(OWD.java:28)
    at OWD.main(OWD.java:67)
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: de.javasoft.plaf.synthetica.SyntheticaLookAndFeel
    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.j ava:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:4 23)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 56)
    ... 23 more
    Java Result: 1

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    4,033
    Rep Power
    6

    Default Re: LookAndFeel

    Executing com.javafx.main.Main from D:\Softwares\Importent\don't Open plzz\Website_downloader\dist\run1546392038\Website _downloader.jar using platform C:\Program Files\Java\jdk1.7.0_17/bin/java
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.javafx.main.Main.launchApp(Main.java:658)
    at com.javafx.main.Main.main(Main.java:805)
    Caused by: java.lang.NoClassDefFoundError: de/javasoft/plaf/synthetica/SyntheticaLookAndFeel
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :791)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader. java:71)

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    Sarmad.as is offline Member
    Join Date
    Nov 2013
    Posts
    27
    Rep Power
    0

Similar Threads

  1. UI LookAndFeel
    By Levian in forum AWT / Swing
    Replies: 6
    Last Post: 04-05-2012, 11:54 AM
  2. Replies: 7
    Last Post: 07-10-2011, 09:59 PM
  3. How to use sheets of quaqua LookAndFeel
    By arshadalisoomro in forum AWT / Swing
    Replies: 0
    Last Post: 04-19-2011, 04:02 PM
  4. Change fonts for a LookAndFeel set
    By bertuz in forum AWT / Swing
    Replies: 0
    Last Post: 03-24-2011, 01:09 AM
  5. Problem in LookAndFeel
    By arshadalisoomro in forum AWT / Swing
    Replies: 0
    Last Post: 11-04-2010, 08:06 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •