This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

screen resolution change detection  RSS feed

 
kepa makibar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I�ve a smart phone that supports both portrait and landscape mode (it changes the mode when sliding the keyboard).

I am developing a GUI using AWT and I need it to detect when the screen resolution changes. Now what I do is to get the screen resolution (defaultToolkit.getScreenResolution()) whenever the Frame is going to be painted.

Is there a more effective way to detect when the screen resolution changes?

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!