A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: Sep 25, 2004
Dec 04, 2004 01:10:00
I have made a form using JDialog. Thats is working fine.
But now i have made 2 small form using JFrame and JDialog. When i call JFrame while working on 1st JDialog (Main Form) on a button click event, then i am facing problem.
JFrame is showing but i cant do anything on it. Even i cant click button. But when i call JDialog, it cant open but showing a huge line of errors.
But when i make JFrame as main form and calling JDialog or JFrame i am able to do what ever i want.
Can anybody help me out in it.
Love is GOD and GOD is Love.
M/s. Anand Karia Concreting IT
Joined: Aug 20, 2004
Dec 04, 2004 18:05:00
The main form should be a JFrame, Why do you want to use a JDialog as the main form?
Download Java GUI Builder, <a href="http://www.mars3000.com" target="_blank" rel="nofollow">http://www.mars3000.com</a>
I agree. Here's the link:
event to call HTML file
JFrame one instance
Access JFrame Components from JDialog
Correct behaviour when launching a new window and getting rid of the first window
Swing - detect mouse click outside modal JDialog boundary
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014