Solved

Linking a JFrame to a JButton on another JFramae!

Posted on 2011-09-20
6
636 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web services creation SOAP vs REST 5 56
Groovy problem when using SOAPUI : DispatchException occurred 7 58
spring jars download 1 35
iterator/ListIterator approach 17 39
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

856 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