• Post Reply Bookmark Topic Watch Topic
  • New Topic

Modal JFrame in VisualAge?????

 
Brett Swift
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I realise that JDialogs have a modal property, and JFrames don't. I think I am just making life hard for myself, but I want to make my JFrame modal!
I am using VisualAge 2.0, and have tried event-to-method connections to send the JFrame to the front when it is Deactivated, Iconified or Hidden.... none of these work.
I have searched this site extensively and found only that most people opted for the JDialog! There must be a Swing god out there somewhere that knows a trick!
Thanks!
[ August 01, 2002: Message edited by: Brett Swift ]
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you feel that you have to use a JFrame?
 
Brett Swift
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because I already have the JFrame finished, and although it wouldn't be too hard to switch to a JDialog, I just wanna know how to do it with a JFrame! I like figureing out little tricks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!