Skip to main content

SwingNode Error!

3 replies [Last post]
siro_nl
Offline
Joined: 2007-09-16
Points: 0

Hi all,

First i would like to say 'chapeau' for all the staff of Looking Glass project for this beautiful work.
I'm new with this project and i tried to put a JPanel to a Frame3D but i got some errors. May can somebody help me to resolve this problem.
I'm on WinXP pack 2, netbeans 5.5.1 and i install the last Loking Glass progam.
Loking Glass program works very well. With netbeans i make a little program with a box and it also works OK! when i tried to put a SwingNode because i'll like to use a JPanel a got this errors! (see code below) this appens only when i initialised SwingNode node = new SwingNode().

Can u HELP! me?

Thank you.
--------------------------------------------------------------------------------
init:
deps-jar:
compile:
run:
lg3d:
3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.Main main
INFO:
LG3D Version : dev-0-9-0
LG3D Build Time : 11:05 PDT 23 Oct 2006(0610231105)
LG3D Build Type : user
LG3D Java Version : 1.6.0-rc

Java Version : 1.6.0_02
Java Vendor : Sun Microsystems Inc.
Java Class Version : 50.0
Java Class Path : C:\Documents and Settings\CLAUDEA\Lg3dApplication\dist\lib\lg3d-core.jar
App Codebase : file:///C:\Documents and Settings\CLAUDEA\Lg3dApplication\dist

OS Name : Windows XP
OS Arch : x86
OS Version : 5.1

Def. Locale Language Code : nl
Def. Locale Country Code : NL

3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.LgConfig loadConfig
INFO: Finished loading config
3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DefaultPlatformConfig logConfig
CONFIG: FoundationWinSys org.jdesktop.lg3d.displayserver.fws.awt.WinSysAWT
3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DefaultPlatformConfig logConfig
CONFIG: NativeWinIntegration
3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DefaultPlatformConfig logConfig
CONFIG: NativeWinLookAndFeel
3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DefaultPlatformConfig logConfig
CONFIG: ClientServer false
3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DisplayServerControl initialize
CONFIG: Display configuration overridden by lg.displayconfigurl property to file:/C:/Documents and Settings/CLAUDEA/Lg3dApplication/plethora/etc/lg3d/displayconfig/j3d1x1
3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DisplayServerControl initialize
CONFIG: Using UniverseFactory org.jdesktop.lg3d.displayserver.DefaultUniverseFactory@ee22f7
Java 3D: Shape3D bounds enabled for transparency sorting
3-okt-2007 10:40:37 org.jdesktop.lg3d.displayserver.DefaultUniverseFactory createUniverse
INFO: com.sun.j3d.utils.universe.ConfigContainer@659db7
____________________ VisibleCanvasCount 1
Waiting
3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DisplayServerControl logRenderingInfo
INFO:
Java 3D version : 1.5.1 fcs (build6)
Java 3D vendor : Sun Microsystems, Inc.
Java 3D specification.version : 1.5
Java 3D specification.vendor : Sun Microsystems, Inc.
Java 3D renderer : OpenGL
Renderer version : 1.3.0 - Build 4.14.10.4396

doubleBufferAvailable : true
stereoAvailable : false
sceneAntialiasingAvailable : true
sceneAntialiasingNumPasses : 8
textureColorTableSize : 0
textureEnvCombineAvailable : true
textureCombineDot3Available : true
textureCombineSubtractAvailable : true
texture3DAvailable : true
textureCubeMapAvailable : true
textureSharpenAvailable : false
textureDetailAvailable : false
textureFilter4Available : false
textureAnisotropicFilterDegreeMax : 2.0
textureBoundaryWidthMax : 1
textureWidthMax : 2048
textureHeightMax : 2048
textureLodOffsetAvailable : false
textureLodRangeAvailable : true
textureUnitStateMax : 4
compressedGeometry : 1.0.2

3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DisplayServerControl checkViewConfiguration
INFO: View Configuration:
PreferedWidth : 0.0, 0.0
PreferedHeight : 0.0, 0.0
LeftEye : (0.142, 0.135, 0.4572)
RightEye : (0.208, 0.135, 0.4572)

3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DisplayServerControl initializeFoundationWinSys
INFO: Initialising Foundation WinSys org.jdesktop.lg3d.displayserver.fws.awt.WinSysAWT
3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.fws.PickEngine initialize
CONFIG: PickEngine initialized
3-okt-2007 10:40:38 org.jdesktop.lg3d.wg.AnimationScheduler initialize
CONFIG: Animation System Started
3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DefaultConfigControl scanDirectoryFromResource
WARNING: Unable to locate class org.jdesktop.lg3d.apps.help.Lg3dHelp in resourceDir /config/demo
3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DefaultConfigControl scanDirectoryFromResource
WARNING: Unable to locate class org.jdesktop.lg3d.apps.bgmanager.BgManager in resourceDir /config/incubator
3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DisplayServerControl initializeSceneManager
INFO: Initialising Scene Manager org.jdesktop.lg3d.scenemanager.glassy.GlassySceneManager
3-okt-2007 10:40:38 org.jdesktop.lg3d.utils.prefs.LgPreferencesHelper loadDefaultPreferences
INFO: Preferences have been initialized: /etc/lg3d/skel/prefs.xml
3-okt-2007 10:40:38 org.jdesktop.lg3d.utils.prefs.LgPreferencesHelper initLg3dDefaultIfNeeded
INFO: LG3D Preferences have been initialized
3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DefaultConfigControl scanDirectoryFromResource
WARNING: Unable to locate class org.jdesktop.lg3d.apps.help.Lg3dHelp in resourceDir /config/demo
3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DefaultConfigControl scanDirectoryFromResource
WARNING: Unable to locate class org.jdesktop.lg3d.apps.bgmanager.BgManager in resourceDir /config/incubator
3-okt-2007 10:40:39 org.jdesktop.lg3d.scenemanager.config.ApplicationDescription$ApplicationTaskbarItemConfig createItem
WARNING: Unable to create Icon from URL null for command java LG3D
3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.DisplayServerControl processAllConfig
INFO: Start-up configuration completed...
3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.DisplayServerControl initialize
WARNING: _______________DONE______________
3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler
INFO: Starting DisplayServer...
3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler$ConnectionManager run
INFO: Server started...
3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler$ConnectionManager run
INFO: Waiting for client connection...
3-okt-2007 10:40:47 org.jdesktop.lg3d.utils.action.AppLaunchAction performAction
WARNING: Executing java app in the same JVM: java LG3D
Using ClassLoader org.jdesktop.lg3d.displayserver.LgClassLoader@1b7b407 ID = 3
Classpath = file:/C:/Documents and Settings/CLAUDEA/Lg3dApplication/dist/LG3D_Project.jar :
3-okt-2007 10:40:47 org.jdesktop.lg3d.utils.action.AppLaunchAction$1 run
WARNING: Failed to start: LG3D
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jdesktop.lg3d.utils.action.AppLaunchAction$1.run(AppLaunchAction.java:82)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: org/jdesktop/lg3d/wg/internal/swingnode/SwingNodeJFrame
at LG3D.(LG3D.java:24)
at LG3D.main(LG3D.java:58)
... 6 more
-----------------------------------------------------------------------------------------------------------------------
import java.awt.BorderLayout;
import java.net.URL;
import javax.swing.JPanel;
import org.jdesktop.lg3d.sg.Shape3D;
import org.jdesktop.lg3d.sg.Texture2D;
import org.jdesktop.lg3d.utils.shape.Box;
import org.jdesktop.lg3d.utils.shape.SimpleAppearance;
import org.jdesktop.lg3d.wg.Component3D;
import org.jdesktop.lg3d.wg.Frame3D;
import org.jdesktop.lg3d.wg.SwingNode;
import org.jdesktop.lg3d.wg.internal.swingnode.SwingNodeJFrame;

public class LG3D extends JPanel
{
SimpleAppearance appFront, appRight, appLeft, appTop, appBottom, appBack = null;

URL url = null;
public LG3D()
{
Frame3D frame3d = new Frame3D();
SwingNode node = new SwingNode();
JPanel panel = new JPanel(new BorderLayout());
ClassLoader loader = this.getClass().getClassLoader();

try{
url = loader.getResource("sample.jpg");
appFront = new SimpleAppearance(url);
url = loader.getResource("sample2.gif");
appRight = new SimpleAppearance(url);
}catch(Exception ex){System.err.print("Error!");
ex.printStackTrace();}

Box box = new Box(0.05f,0.04f,0.03f,null);

Shape3D shape = box.getShape(Box.FRONT);
shape.setAppearance(appFront);

shape = box.getShape(Box.RIGHT);
shape.setAppearance(appRight);

Component3D component = new Component3D();
component.addChild(box);
node.setJPanel(new NewJPanel());
//node.setPanel(panel); //doesn't work
node.setTranslation(0.1f,0.08f,-0.04f);
frame3d.addChild(component);
frame3d.addChild(node);
//frame3d.setPreferredSize(new Vector3f(01f,0.08f,0.06f));
frame3d.changeEnabled(true);
frame3d.changeVisible(true);
}

public static void main(String[] args) {
new LG3D();
}
}

class NewJPanel extends JPanel {
private javax.swing.JFileChooser jFileChoser;
/** Creates new form NewJPanel */
public NewJPanel() {
initComponents();
}

/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
//
private void initComponents() {

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 400, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 300, Short.MAX_VALUE)
);
}//

// Variables declaration - do not modify
// End of variables declaration
private void initComponent(){
jFileChoser = new javax.swing.JFileChooser();
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
this.setLayout(layout);
}
}

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Brian Demers

Looks like your missing some jars on your class path.

How are you executing your application? using one of the scripts / ant
tasks or a custom launcher in NetBeans?

-Brian

On 10/3/07, lg3d@javadesktop.org wrote:
> Hi all,
>
> First i would like to say 'chapeau' for all the staff of Looking Glass project for this beautiful work.
> I'm new with this project and i tried to put a JPanel to a Frame3D but i got some errors. May can somebody help me to resolve this problem.
> I'm on WinXP pack 2, netbeans 5.5.1 and i install the last Loking Glass progam.
> Loking Glass program works very well. With netbeans i make a little program with a box and it also works OK! when i tried to put a SwingNode because i'll like to use a JPanel a got this errors! (see code below) this appens only when i initialised SwingNode node = new SwingNode().
>
> Can u HELP! me?
>
> Thank you.
> --------------------------------------------------------------------------------
> init:
> deps-jar:
> compile:
> run:
> lg3d:
> 3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.Main main
> INFO:
> LG3D Version : dev-0-9-0
> LG3D Build Time : 11:05 PDT 23 Oct 2006(0610231105)
> LG3D Build Type : user
> LG3D Java Version : 1.6.0-rc
>
> Java Version : 1.6.0_02
> Java Vendor : Sun Microsystems Inc.
> Java Class Version : 50.0
> Java Class Path : C:\Documents and Settings\CLAUDEA\Lg3dApplication\dist\lib\lg3d-core.jar
> App Codebase : file:///C:\Documents and Settings\CLAUDEA\Lg3dApplication\dist
>
> OS Name : Windows XP
> OS Arch : x86
> OS Version : 5.1
>
> Def. Locale Language Code : nl
> Def. Locale Country Code : NL
>
> 3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.LgConfig loadConfig
> INFO: Finished loading config
> 3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DefaultPlatformConfig logConfig
> CONFIG: FoundationWinSys org.jdesktop.lg3d.displayserver.fws.awt.WinSysAWT
> 3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DefaultPlatformConfig logConfig
> CONFIG: NativeWinIntegration
> 3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DefaultPlatformConfig logConfig
> CONFIG: NativeWinLookAndFeel
> 3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DefaultPlatformConfig logConfig
> CONFIG: ClientServer false
> 3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DisplayServerControl initialize
> CONFIG: Display configuration overridden by lg.displayconfigurl property to file:/C:/Documents and Settings/CLAUDEA/Lg3dApplication/plethora/etc/lg3d/displayconfig/j3d1x1
> 3-okt-2007 10:40:36 org.jdesktop.lg3d.displayserver.DisplayServerControl initialize
> CONFIG: Using UniverseFactory org.jdesktop.lg3d.displayserver.DefaultUniverseFactory@ee22f7
> Java 3D: Shape3D bounds enabled for transparency sorting
> 3-okt-2007 10:40:37 org.jdesktop.lg3d.displayserver.DefaultUniverseFactory createUniverse
> INFO: com.sun.j3d.utils.universe.ConfigContainer@659db7
> ____________________ VisibleCanvasCount 1
> Waiting
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DisplayServerControl logRenderingInfo
> INFO:
> Java 3D version : 1.5.1 fcs (build6)
> Java 3D vendor : Sun Microsystems, Inc.
> Java 3D specification.version : 1.5
> Java 3D specification.vendor : Sun Microsystems, Inc.
> Java 3D renderer : OpenGL
> Renderer version : 1.3.0 - Build 4.14.10.4396
>
> doubleBufferAvailable : true
> stereoAvailable : false
> sceneAntialiasingAvailable : true
> sceneAntialiasingNumPasses : 8
> textureColorTableSize : 0
> textureEnvCombineAvailable : true
> textureCombineDot3Available : true
> textureCombineSubtractAvailable : true
> texture3DAvailable : true
> textureCubeMapAvailable : true
> textureSharpenAvailable : false
> textureDetailAvailable : false
> textureFilter4Available : false
> textureAnisotropicFilterDegreeMax : 2.0
> textureBoundaryWidthMax : 1
> textureWidthMax : 2048
> textureHeightMax : 2048
> textureLodOffsetAvailable : false
> textureLodRangeAvailable : true
> textureUnitStateMax : 4
> compressedGeometry : 1.0.2
>
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DisplayServerControl checkViewConfiguration
> INFO: View Configuration:
> PreferedWidth : 0.0, 0.0
> PreferedHeight : 0.0, 0.0
> LeftEye : (0.142, 0.135, 0.4572)
> RightEye : (0.208, 0.135, 0.4572)
>
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DisplayServerControl initializeFoundationWinSys
> INFO: Initialising Foundation WinSys org.jdesktop.lg3d.displayserver.fws.awt.WinSysAWT
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.fws.PickEngine initialize
> CONFIG: PickEngine initialized
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.wg.AnimationScheduler initialize
> CONFIG: Animation System Started
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DefaultConfigControl scanDirectoryFromResource
> WARNING: Unable to locate class org.jdesktop.lg3d.apps.help.Lg3dHelp in resourceDir /config/demo
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DefaultConfigControl scanDirectoryFromResource
> WARNING: Unable to locate class org.jdesktop.lg3d.apps.bgmanager.BgManager in resourceDir /config/incubator
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DisplayServerControl initializeSceneManager
> INFO: Initialising Scene Manager org.jdesktop.lg3d.scenemanager.glassy.GlassySceneManager
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.utils.prefs.LgPreferencesHelper loadDefaultPreferences
> INFO: Preferences have been initialized: /etc/lg3d/skel/prefs.xml
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.utils.prefs.LgPreferencesHelper initLg3dDefaultIfNeeded
> INFO: LG3D Preferences have been initialized
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DefaultConfigControl scanDirectoryFromResource
> WARNING: Unable to locate class org.jdesktop.lg3d.apps.help.Lg3dHelp in resourceDir /config/demo
> 3-okt-2007 10:40:38 org.jdesktop.lg3d.displayserver.DefaultConfigControl scanDirectoryFromResource
> WARNING: Unable to locate class org.jdesktop.lg3d.apps.bgmanager.BgManager in resourceDir /config/incubator
> 3-okt-2007 10:40:39 org.jdesktop.lg3d.scenemanager.config.ApplicationDescription$ApplicationTaskbarItemConfig createItem
> WARNING: Unable to create Icon from URL null for command java LG3D
> 3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.DisplayServerControl processAllConfig
> INFO: Start-up configuration completed...
> 3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.DisplayServerControl initialize
> WARNING: _______________DONE______________
> 3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler
> INFO: Starting DisplayServer...
> 3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler$ConnectionManager run
> INFO: Server started...
> 3-okt-2007 10:40:39 org.jdesktop.lg3d.displayserver.socketconnector.ServerHandler$ConnectionManager run
> INFO: Waiting for client connection...
> 3-okt-2007 10:40:47 org.jdesktop.lg3d.utils.action.AppLaunchAction performAction
> WARNING: Executing java app in the same JVM: java LG3D
> Using ClassLoader org.jdesktop.lg3d.displayserver.LgClassLoader@1b7b407 ID = 3
> Classpath = file:/C:/Documents and Settings/CLAUDEA/Lg3dApplication/dist/LG3D_Project.jar :
> 3-okt-2007 10:40:47 org.jdesktop.lg3d.utils.action.AppLaunchAction$1 run
> WARNING: Failed to start: LG3D
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jdesktop.lg3d.utils.action.AppLaunchAction$1.run(AppLaunchAction.java:82)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NoClassDefFoundError: org/jdesktop/lg3d/wg/internal/swingnode/SwingNodeJFrame
> at LG3D.(LG3D.java:24)
> at LG3D.main(LG3D.java:58)
> ... 6 more
> -----------------------------------------------------------------------------------------------------------------------
> import java.awt.BorderLayout;
> import java.net.URL;
> import javax.swing.JPanel;
> import org.jdesktop.lg3d.sg.Shape3D;
> import org.jdesktop.lg3d.sg.Texture2D;
> import org.jdesktop.lg3d.utils.shape.Box;
> import org.jdesktop.lg3d.utils.shape.SimpleAppearance;
> import org.jdesktop.lg3d.wg.Component3D;
> import org.jdesktop.lg3d.wg.Frame3D;
> import org.jdesktop.lg3d.wg.SwingNode;
> import org.jdesktop.lg3d.wg.internal.swingnode.SwingNodeJFrame;
>
> public class LG3D extends JPanel
> {
> SimpleAppearance appFront, appRight, appLeft, appTop, appBottom, appBack = null;
>
>
> URL url = null;
> public LG3D()
> {
> Frame3D frame3d = new Frame3D();
> SwingNode node = new SwingNode();
> JPanel panel = new JPanel(new BorderLayout());
> ClassLoader loader = this.getClass().getClassLoader();
>
> try{
> url = loader.getResource("sample.jpg");
> appFront = new SimpleAppearance(url);
> url = loader.getResource("sample2.gif");
> appRight = new SimpleAppearance(url);
> }catch(Exception ex){System.err.print("Error!");
> ex.printStackTrace();}
>
> Box box = new Box(0.05f,0.04f,0.03f,null);
>
> Shape3D shape = box.getShape(Box.FRONT);
> shape.setAppearance(appFront);
>
> shape = box.getShape(Box.RIGHT);
> shape.setAppearance(appRight);
>
> Component3D component = new Component3D();
> component.addChild(box);
> node.setJPanel(new NewJPanel());
> //node.setPanel(panel); //doesn't work
> node.setTranslation(0.1f,0.08f,-0.04f);
> frame3d.addChild(component);
> frame3d.addChild(node);
> //frame3d.setPreferredSize(new Vector3f(01f,0.08f,0.06f));
> frame3d.changeEnabled(true);
> frame3d.changeVisible(true);
> }
>
>
>
> public static void main(String[] args) {
> new LG3D();
> }
> }
>
> class NewJPanel extends JPanel {
> private javax.swing.JFileChooser jFileChoser;
> /** Creates new form NewJPanel */
> public NewJPanel() {
> initComponents();
> }
>
> /** This method is called from within the constructor to
> * initialize the form.
> * WARNING: Do NOT modify this code. The content of this method is
> * always regenerated by the Form Editor.
> */
> //
> private void initComponents() {
>
> javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
> this.setLayout(layout);
> layout.setHorizontalGroup(
> layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
> .addGap(0, 400, Short.MAX_VALUE)
> );
> layout.setVerticalGroup(
> layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
> .addGap(0, 300, Short.MAX_VALUE)
> );
> }//

>
>
> // Variables declaration - do not modify
> // End of variables declaration
> private void initComponent(){
> jFileChoser = new javax.swing.JFileChooser();
> javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
> this.setLayout(layout);
> }
> }
> [Message sent by forum member 'siro_nl' (siro_nl)]
>
> http://forums.java.net/jive/thread.jspa?messageID=238212
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

siro_nl
Offline
Joined: 2007-09-16
Points: 0

Hi Brian,

Thank you for the quick response. I search on google how to do custom launcher in NetBeans but i can't find anything. Can you PLEASE help me to resolve this problem on netbeans. Please give some hints..

Thnx

Brian Demers

Currently, I don't use NetBeans, I have used it in the past, and i
really liked the older versions, and the SWING form editor. So I can't
give you any specifics about NetBeans.

But in order to help you we would need to know:
How you are launching your application. (there are many different
ways: ant script, custom launcher [executing a main method], etc)

Also, to all, what is the ideal way to launch/debug in lg3d?
I usually use the run-dev target (from lg3d-core [cvs]) but its
painfully slow. I have used a custom launcher in eclipse before but
that was problematic, due to changes in the trunk.
Just throwing out the question.... (this may help siro_nl)

-Brian

On 10/3/07, lg3d@javadesktop.org wrote:
> Hi Brian,
>
> Thank you for the quick response. I search on google how to do custom launcher in NetBeans but i can't find anything. Can you PLEASE help me to resolve this problem on netbeans. Please give some hints..
>
> Thnx
> [Message sent by forum member 'siro_nl' (siro_nl)]
>
> http://forums.java.net/jive/thread.jspa?messageID=238274
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net