easwar swami

Greenhorn
+ Follow
since Mar 31, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by easwar swami

Hi All,
I am developing a Java application and I am using netbeans for the GUI. I have a main window for which I used a JFrame class and I have a menu in that. When the user clicks that menu item, I want a modal dialog to open. I want to have a number of buttons on that dialog to get a "logic formula" as input from the user. Its difficult to manually write code for this dialog box. So I wanted to do this using Netbeans. But I dont know how to create a class for a dialog box in Netbeans. I am able to create another JFrame class. But using this a dialog seems to be problematic since closing that frame closes the whole application.

When I try to add something new to my project, i am given only the following options - Java class, JFrame form, JPanel form, Java Package, Java interface and web service client.

Can somebody explain the process of adding a JDialog as a stand alone class so that I add buttons to that dialog using the netbeans front end and then I can create an object of this class when the user clicks on the particular menu item.

Thanks a lot in advance.

- Easwar
15 years ago