| | |
New to Netbeans and Slightly to Java
![]() |
•
•
Join Date: Mar 2006
Posts: 7
Reputation:
Solved Threads: 0
I have created two GUIs with netbeans. I simply do not know how to call them to display on the screen. I'm sure it's simple, but I must not be understanding properly. I created the GUIs as JPanels and all they have on them right now is some labels and buttons. After the first screen renders I want to click a button to display the second screen. Can someone point me in the right direction with some coding help this first time around? I can use samples to figure out GUIs from there.
Greatly appreciate it.
Greatly appreciate it.
A JPanel has to exist inside something else.
To show it on screen that will usually be a JFrame or a JDialog.
When you have one of those you can easily display them, both have methods to achieve that.
To show it on screen that will usually be a JFrame or a JDialog.
When you have one of those you can easily display them, both have methods to achieve that.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Mar 2006
Posts: 7
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by dgrblr
I have created two GUIs with netbeans. I simply do not know how to call them to display on the screen. I'm sure it's simple, but I must not be understanding properly. I created the GUIs as JPanels and all they have on them right now is some labels and buttons. After the first screen renders I want to click a button to display the second screen. Can someone point me in the right direction with some coding help this first time around? I can use samples to figure out GUIs from there.
Greatly appreciate it.
Now I get the read all through these same books and try the internet search to try to find out how and when to use MDI. Multiple Document Interfaces weren't too hard to read about in other languages, but ..........
Thanks for your help. This forum has been great to help me out!!!!!
![]() |
Similar Threads
- netbeans problem (Java)
- C++ Software?!!? (C++)
- how to make standalone code out of NetBeans IDE (Java)
- Java compiler (Java)
- netbean (JSP)
- Best Java Project (Java)
Other Threads in the Java Forum
- Previous Thread: Hey check out my prog. It has an error can u find it?
- Next Thread: compiling from command line
| Thread Tools | Search this Thread |
-xlint add android api applet application array arrays automation bi binary blackberry block bluetooth class client code compile compiler component database developmenthelp digit eclipse error fractal freeze functiontesting game gameprogramming givemetehcodez graphics gui health html hyper ide idea image int integer j2me j2seprojects java javac javame javaprojects jetbrains jni jpanel jtable julia learningresources lego linux list login loops mac main map method methods mobile myregfun netbeans nonstatic notdisplaying number online pearl problem program project qt recursion scanner screen server set singleton sms sort spamblocker sql string swing system textfields thread threads time title tree tutorial-sample update variablebinding windows working xor






