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

JFrame resize events  RSS feed

Manuel Moons
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Does anybody know if there is a way to know if my JFrame was resized. I want to save the bounds of my JFrame when the user resizes it.

I have overwritten all setBounds, setLocation,setSize, resize, reshape methods but none of them seems to be called.

I have added a PropertyChangeListener,WindowListener,WindowStateListener but none of them is called either.

I am wondering how this is possible. If anybody has a clue.
Gregg Bolinger
Ranch Hand
Posts: 15304
Chrome IntelliJ IDE Mac OS X
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!