This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How do I make two frame visible simaltenously Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How do I make two frame visible simaltenously" Watch "How do I make two frame visible simaltenously" New topic
Author

How do I make two frame visible simaltenously

P Jain
Ranch Hand

Joined: Jul 31, 2004
Posts: 52
Hi!

I am having two frame frm1 and frm2. fr1 contains one button and textarea. frm2 contains combo box that contains some text. When I clicks on button frm2 gets visible but frm1 gets mininized, I want to make both the frame visible simaltaneously so that I can insert some text in textarea of frm1 by selectin text from combo box of frm2.
Just like modeless dialog box.

Is it possible, if yes then how ?


Regards<br />P Jain
carlo serantonio
Greenhorn

Joined: Oct 16, 2004
Posts: 2
Make visible frm1 when client use ComboBox on frm2..
Try:
- comboBox.addFocusListener(<listener> ;
- frm1.setVisible(true); at focus event

Short example:


bye!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How do I make two frame visible simaltenously
 
Similar Threads
Can we implement modeless property in Fames.
Help Urgent ............
JFrame visibility
JTextAera sizing issue ?
COMMUNICATE WITH A PRINTER