• Post Reply Bookmark Topic Watch Topic
  • New Topic

screen resolution change detection

 
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!