Results 1 to 2 of 2
  1. #1
    smee204 is offline Member
    Join Date
    May 2011
    Rep Power

    Default Get current display settings (e.g. refresh rate)

    I would like my Java application to get the current display resolution, refresh rate and if the resolution is interlaced or progressive. I have found how to get the resolution but can not work out how to get the refresh rate or interlaced/progressive. Any ideas?

  2. #2
    Toll's Avatar
    Toll is offline Senior Member
    Join Date
    May 2011
    Rep Power


    Unsure if the interlace/progressive is in there somewhere, but you can get both resolution and refresh rate from DisplayMode, which you can get to through GraphicsEnvironment.getLocalGraphicsEnvironment(). getDefaultScreenDevice().getDisplayMode(). Look around in those classes a bit, and you could possibly find the interlace/progressive too.

Similar Threads

  1. How can I measure the data rate of my connection
    By islamfunny in forum CLDC and MIDP
    Replies: 0
    Last Post: 09-25-2008, 04:27 PM
  2. calculating Bank interest rate.
    By dotnet007 in forum New To Java
    Replies: 10
    Last Post: 05-13-2008, 10:30 AM
  3. Telecommute only at half rate
    By Johnny Kewl in forum Jobs Wanted
    Replies: 0
    Last Post: 05-11-2008, 05:05 PM
  4. Replies: 4
    Last Post: 01-05-2008, 08:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts