Results 1 to 7 of 7
Thread: jframe
- 06-18-2010, 01:58 PM #1
Member
- Join Date
- Jan 2010
- Posts
- 72
- Rep Power
- 0
- 06-18-2010, 03:04 PM #2
Like a modal dialog over a JFrame?
- 06-18-2010, 03:23 PM #3
Member
- Join Date
- Jan 2010
- Posts
- 72
- Rep Power
- 0
previously i tried JInterFrame but it was not working out since the components on the JFrame were working...i want to open a window so that the JFrame is not clickable...
more over the problem i was facing was something like this
JInternalFrame a---> button1----> another JInternalFrame b---->button2--->a
now clicking the button1 again which should show b but it results in an error
is there any way to resolve this error if i go through JInternalFrame or is there any other way
- 06-18-2010, 03:26 PM #4
What I am asking is: Do you want Frame1 to be like a frame that has opened a modal dialog? Ie Nothing can be done with Frame1 until the modal dialog is closed?
- 06-18-2010, 03:42 PM #5
Member
- Join Date
- Jan 2010
- Posts
- 72
- Rep Power
- 0
- 06-18-2010, 03:49 PM #6
Senior Member
- Join Date
- May 2010
- Posts
- 436
- Rep Power
- 4
So Norm's given you the answer: don't use a second JFrame but rather a JDialog that has its modal property set to true. Using a JDialog is similar to using a JFrame but there are some differences especially in constructor calls. Have a look at the JDialog API, and you'll see how to use it.
- 06-18-2010, 03:52 PM #7
Member
- Join Date
- Jan 2010
- Posts
- 72
- Rep Power
- 0
Similar Threads
-
to pass a parameter from a jframe children to its jframe mother
By anix in forum NetBeansReplies: 5Last Post: 06-14-2010, 06:10 PM -
JFrame from a JFrame in project
By anah in forum AWT / SwingReplies: 2Last Post: 04-19-2010, 06:20 PM -
Passing data from one JFrame to another JFrame. - need help.
By Unsub in forum New To JavaReplies: 6Last Post: 04-12-2010, 11:33 AM -
Passing data from one JFrame to another JFrame
By tarami in forum New To JavaReplies: 3Last Post: 08-06-2009, 05:44 PM -
How to make a Jframe un-focusable when another Jframe is active?
By Robert_85 in forum Advanced JavaReplies: 4Last Post: 04-22-2009, 11:02 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks