Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Popup Frame  RSS feed

 
Scott Selikoff
author
Bartender
Posts: 4081
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a small swing application that starts off with a JDialog box where a user can set parameters, click a JButton, and then load a JFrame based on those parameters. There's some problem where the JFrame is loading but it appears locked.

I've tried loading the JFrame on startup concurrently with the loading of the JDialog using default parameters and it works. So, the frame will load except if invoked by the JButton action listenerer.

Since these are all pretty generic names/methods, does any one have a feel for what might be broken? The frame does load when the button is pushed but its locked and does not show any content. I'm working with others and our code involves ActionListener in the frame being loaded, so I'm guessing that's probably related.
[ November 29, 2006: Message edited by: Scott Selikoff ]
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like something (a thread) is blocking program execution. Is the dialog non–modal?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!