Skip to main content

SwingXDeveloperDemo run time errors

No replies
Anonymous

While attempting to run the SwingXDeveloperDemo I got the following errors:

Created dir: C:\dev\WinCVS Projects\javanet\jdnc\build\classes
Compiling 34 source files to C:\dev\WinCVS Projects\javanet\jdnc\build\classes
Note: C:\dev\WinCVS Projects\javanet\jdnc\src\java\org\jdesktop\jdnc\form\ComponentMap.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 20 files to C:\dev\WinCVS Projects\javanet\jdnc\build\classes
compile:
Created dir: C:\dev\WinCVS Projects\javanet\jdnc\dist
Building jar: C:\dev\WinCVS Projects\javanet\jdnc\dist\jdnc.jar
jar:
init:
deps-jar:
compile:
jar:
Created dir: C:\dev\WinCVS Projects\javanet\swinglabs-demos\build\classes
Compiling 1 source file to C:\dev\WinCVS Projects\javanet\swinglabs-demos\build\classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
compile-single:
run-single:
Failed to find, create, and open the MainWindow. The Demo class was 'org.jdesktop.demo.swingx_dev.SwingXDeveloperDemo'
java.lang.NullPointerException
at javax.swing.ImageIcon.(ImageIcon.java:138)
at org.jdesktop.demo.swingx_dev.JXPanelTranslucencyDemoPanel.(Unknown Source)
at org.jdesktop.demo.swingx_dev.SwingXDeveloperDemo.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
Pass in the name of the JFrame that is to be the main window for this app, like so:
-w org.jdesktop.binding.demo.blar.BlarWindow
at java.lang.Class.newInstance(Class.java:303)
at org.jdesktop.demo.MainWindow$4.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThreadjava:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Java Result: 3
BUILD SUCCESSFUL (total time: 2 minutes 14 seconds)
[att1.html]