| | |
New to Netbeans and Slightly to Java
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
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
Views: 1190 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Java
3d @param affinetransform android api apple applet application arc arguments array arrays automation binary bluetooth byte c# chat class classes click client code color compare component corrupted database detection draw eclipse error event exception file fractal game givemetehcodez graphics gui guitesting helpwithhomework html ide image input integer j2me java java.xls javaprojects jmf jni jpanel julia keytool linux list loop map method methods mobile netbeans newbie number object oracle pong print problem producer program programming project projectideas read recursion reflection replaysolutions rim scanner screen server set size sms socket sort sql string swing terminal test threads time transfer tree web windows






