|
-
August 3rd, 1999, 07:04 AM
#1
Doubt working with Dialog Box
Hai,
I created a dialog box with parent as a frame. After executing the statment dialogbox.show(), i want the control back to the parent frame. i want the dialog box to be on top of the frame.I after executing some statements of frame, i want to dispose the frame.These statments contain some statments to set the properties of some components on the dialog box.
-
August 3rd, 1999, 08:24 AM
#2
Re: Doubt working with Dialog Box
I understand that u want to use a modal dialog/modeless dialog.A modal dailog will remain in focus till it is disposed(dialogbox.dispose()) and u cannot go back to the frame.In a modeless dialog u can switch between dialog and the frame.The constructor of java.awt.Dialog takes boolean modal as a prameter.Specify tru for a modal dialog.
-
August 4th, 1999, 01:13 AM
#3
Re: Doubt working with Dialog Box
Thanks for responding to my doubt,
I did the same thing you told me,after placeing this doubt in codeguru.
any have thanks for responding to my doubt.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|