Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Swing / AWT / SWT and the fly likes JFrame or customed JDialog or ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JFrame or customed JDialog or ?" Watch "JFrame or customed JDialog or ?" New topic

JFrame or customed JDialog or ?

Jes Sie
Ranch Hand

Joined: Jul 24, 2001
Posts: 188
I'm quite new at this. I have just done quite a few "small application" in JFrame. Each consists of a variety of JComponents. Now each of this JFrame is supposed to be a "on click dialog" for a main application(JFrame too)...
Now, after doing reading on and did a few prototypes, I may have to customised a JDialog to behave like my "small application". Can I add my JFrame programs onto JDialog? No, right. How about JPanel onto JDialog?
Any suggestion on how to go about this would be appreciated.
Thank you.
- Simon See
-after office hours-

Thank you.<br /> <br />- Jess Sie<br /> <a href="" rel="nofollow"></a>
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Yes you can use JPanel in a JDialog.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JFrame or customed JDialog or ?