Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

screen resolution java  RSS feed

 
tadi raja
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I determine when my Java / Swing application is running on a PC with DPI Setting of Normal Size (96DPI) versus Large Size (120DPI)???
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Rob Spoor
Sheriff
Posts: 21095
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And if Toolkit can't help you, check out java.awt.GraphicsEnvironment, java.awt.GraphicsDevice and java.awt.GraphicsConfiguration. The first one is the entry point to get access to the other two.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!