Re: starter Netbeans on Ubuntu (linux). Program won't run
Wade Chandler <[email protected]> Sat, 1 Dec 2007 09:02:37 -0800 (PST)
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Probably you used the new "Java Application Project" wizard, is this correct? If so, and you chose to have it create your main class then it would have made a pure command line Main class with a method:
public static void main(String[] args){
}
notice it is empty. If you only need your UI screen to be the main screen (form/window) then go to your project properties|Run and set the main class to that UI class. That should fix your issue.
Wade
==================
Wade Chandler, CCE
Software Engineer and Developer, Certified Forensic Computer Examiner, NetBeans Dream Team Member, and NetBeans Board Member
http://www.certified-computer-examiner.com
http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam
http://www.netbeans.org
----- Original Message ----
From: anko <[email protected]>
To: [email protected]
Sent: Saturday, December 1, 2007 9:41:05 AM
Subject: [nbui] starter Netbeans on Ubuntu (linux). Program won't run
I have just completed the "GUI Building in Netbeans IDE" course and
the
"Adding Functionality to Buttons: A Beginners Guide" course.
Making the form and its components works fine.
Running the *.java file also works.
But when I try to run the project from de IDE menu or from prompt, just
nothing happens.
No screen, no messages, no nothing.
I'm running Netbeans IDE 5.5.1 on Ubuntu 7.10 (Linux) with Sun-Java-6.
What do I forget?
--
View this message in context:
http://www.nabble.com/starter-Netbeans-on-Ubuntu-%28linux%29.-Program-won%27t-run-tf4928403.html#a14105892
Sent from the Netbeans - UI mailing list archive at Nabble.com.