Solved

Linking a JFrame to a JButton on another JFramae!

Posted on 2011-09-20
6
639 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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…
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…

733 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