3 Replies - 3867 Views - Last Post: 25 August 2010 - 06:35 PM Rate Topic: -----

#1 CharmaineCoder  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 25-August 10

Java code of Adjusting the screen resolution

Posted 25 August 2010 - 05:57 AM

Hi!

I'm totally making my efforts to make a program which is adjusting the screen resolution using java code.. But I failed, I can't find a code that will help my problem.. Please whoever knows that code, can you share it with me? I really need it this Friday, August 31, 2010..
Please, I really want this thing..

:D

Is This A Good Question/Topic? 0
  • +

Replies To: Java code of Adjusting the screen resolution

#2 Crunch  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 139
  • View blog
  • Posts: 1,222
  • Joined: 28-July 09

Re: Java code of Adjusting the screen resolution

Posted 25 August 2010 - 06:02 AM

Hey read the rules
Was This Post Helpful? 0
  • +
  • -

#3 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10446
  • View blog
  • Posts: 38,686
  • Joined: 27-December 08

Re: Java code of Adjusting the screen resolution

Posted 25 August 2010 - 06:28 AM

You can get the GraphicsDevice from the GraphicsEnvironment, and set the DisplayMode for the GraphicsDevice. This will change the resolution of the Java program when it runs, but the changes won't be permanent once you exit from the program.
Was This Post Helpful? 0
  • +
  • -

#4 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,025
  • Joined: 15-July 08

Re: Java code of Adjusting the screen resolution

Posted 25 August 2010 - 06:35 PM

I wrote a tutorial on this. It's in my blog:
http://www.dreaminco...a-applications/
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1