• 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: 20903
81
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!