Solved

Linking a JFrame to a JButton on another JFramae!

Posted on 2011-09-20
6
633 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

786 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