Solved

Linking a JFrame to a JButton on another JFramae!

Posted on 2011-09-20
6
629 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

747 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

12 Experts available now in Live!

Get 1:1 Help Now