This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

How to choose main-Gui for "Clean and Build"-Process  RSS feed

 
Ranch Hand
Posts: 106
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi community!

I have several Guis which all depends on a main-gui.
If i choose "Clean and Build" in my Netbeans-IDE, and i try to execute the .jar-file, then nothing happens.

I guss, its because of the several guis.

My gui-code is like this:
Main-Gui:



second Gui:


Third Gui:




Thank you in advance
 
Ralf Coby
Ranch Hand
Posts: 106
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Edit:

The problem occured even with a single GUI.

I am at my wits end
 
Ralf Coby
Ranch Hand
Posts: 106
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, whatever. Can't help.

I have copied exactly the same sourcecode to a new java-project, and now it runs.

Whatever.

God moves in mysterious ways. Or something like that.
 
Marshal
Posts: 60069
188
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Avoid subclassing display classes as much as possible. I would use all the display classes as local variables as far as possible:-
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!