• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with JDialogs

 
Srinivas Bitla
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a problem with JDialogs in my standalone application. This app pops-up multiple JDialogs, say a stack of JDialogs.
I have a standalone application which runs as a JFrame, call it JFrame1, which is working fine. JFrame1 pops-up a JDialog, on some button click on JFrame1, call it JDialog1, which is also working fine. Now JDialog1 pops-up another JDialog, again on some button click on JDialog1, call it JDialog2, which is too working fine. But, after I finish with JDialog2 and dispose it my JDialog1 is not working fine, though that is the front dialog at present.
Any ideas why JDialog1 is not working fine? Am I missing anything?
Thanks,
Srinivas.
 
Chris Brat
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what isnt working?
 
Srinivas Bitla
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chris,
I have a component called DateComponent that works similar to a JComboBox. When you click a small popup button of DateComponent, it pops-up a Calendar similar to the drop down list of JComboBox and user can pick a date from it. It gets closed when it loses focus.
I have this DateComponent on JFrame1, JDialog1 and JDialog2. This Calendar is not being diaplayed on JDialog1 upon clicking the small button of DateComponent after JDialog2 is disposed. But it is being diaplayed properly on JDialog1 before JDialog1 opens JDialog2.
I am using JDK1.3.1.
Thanks,
Srinivas.
 
Chris Brat
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi again,
cant really think of anything off-hand from what you have described.
if possible can you post me the source - no promises, except that I can try fiddle with it.
c.k.b@webmail.co.za
chris
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic