• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling second jPanel

 
Daniel Layher
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm using netbeans 5.0 to make a GUI application. For some reason, and i'm sure the solution is simple, i can't figure out how to call a second GUI class from the first one. Example, a screen pops up with multiple selections. If i click on one, I want a different GUI window that i made to pop up and later pull variables from that window. I know how to pull the variable but can't seem to make the window appear to begin with. Any suggestions?
 
Daniel Layher
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in case the question was unclear, when i run the program, the main window pops up, but when i make a selection the next window i created won't appear... how do i make the second window appear???
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you make your first window appear? Answer that, and you will know.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic