Solved

Linking a JFrame to a JButton on another JFramae!

Posted on 2011-09-20
6
630 Views
Last Modified: 2013-12-14
Hi,

I'm new to Netbeans and I know the concept of OOP Java programming!  I have created a Netbeans Platform project in Netbeans and linked a JForm to my core module where I have a few tabs and JButtons Containers.  I want the user to click one of these buttons and have a new window opened where the user can configure things.  I would also like to have this performed on menu items like someone clicking on File -> New and a new window opens up!  

I'm also looking for a very easy to understand tutorial where I could get a grip of the Netbeans IDE and Netbeans platform in general!

Thanks in advanced,
Sam
0
Comment
Question by:snajalm
6 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 300 total points
ID: 36565594
You should normally have only one JFrame per application. A configuration window should normally be a JDialog or subclass

e.g.

http://www.daniweb.com/software-development/java/threads/293422
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36565719
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36565758
Also go to youtube and type NetBeans in the youtube search - the video tutorials
with biggest numbers of views can be useful for initial understanding
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 41

Expert Comment

by:HonorGod
ID: 36565950
0
 

Author Closing Comment

by:snajalm
ID: 36567631
I managed to get the dialogue boxes happening just as I asked for!

Regards,
Sam
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 36568047
:-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to implement Singleton Design Pattern in Java.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now