Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-05-2007, 03:56 AM
Member
 
Join Date: Jul 2007
Posts: 43
Rep Power: 0
leonard is on a distinguished road
Default help with jdialog
I have a button in a JDialog. When I press the button I want the dialog to close and my main frame to remain.
any ideas?
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 08-05-2007, 06:37 AM
hardwired's Avatar
Senior Member
 
Join Date: Jul 2007
Posts: 1,577
Rep Power: 4
hardwired is on a distinguished road
Default
dialog.dispose();
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to make a JDialog scrolling from one position to the other. Eranga AWT / Swing 1 03-28-2008 11:26 AM
Close a JDialog Programmatically Marcus Advanced Java 1 07-06-2007 05:06 PM
problems with jDialog in a JFrame bbq AWT / Swing 1 07-05-2007 05:14 AM
How to get rid of minimize and close icon on a jdialog? sandor AWT / Swing 1 04-09-2007 01:05 AM


All times are GMT +2. The time now is 04:19 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org