dcsimg
Porting NetBeans code to work from a console window
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   bhuvanendra_s
Posted On:   Tuesday, May 16, 2006 12:08 PM

Hi, I have NetBeans 5.0 installed on my System with
Windows XP.I use JDK 1.5.0_06.i have made an application using
Swing,but it works only in NetBeans,If i try to run it from the console,It gives an error saying

package org.jdesktop.layout does not exist and also
other errors relating to that package,so I want to know how to resolve this.
Thanks in advance.

Re: Porting NetBeans code to work from a console window

Posted By:   Robert_Lybarger  
Posted On:   Tuesday, May 16, 2006 05:46 PM

Unfortunately, by default, netbeans uses a non-java-core layout manager; it is included in netbeans via some jar file. I'm not sure which one (maybe "jdesktop.jar" or something), but you'll need to package that jar file with your application and/or change your GUI forms (dialogs/panels/frames) to use one of the standard layout managers.
About | Sitemap | Contact