• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

How to set screen resolution

 
Ranch Hand
Posts: 275
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to have an application that can alter the screen resolution to 600 * 480. My current applet uses these dimensions and all the graphics are set up for this however if I change the applet to an application then it would be nice to be able to use the full screen but still keep with the 600 * 480 res.

Mike
 
Ranch Hand
Posts: 4632
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
something to play with, for 800x600

my PC, Vista, min resolution in Display Settings is 800x600, and this works OK
change to 600x480 and it goes belly-up





 
Ranch Hand
Posts: 147
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's also the Full Screen Exclusive Mode API you could have a look at:

http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/extra/fullscreen/index.html
 
Mich Robinson
Ranch Hand
Posts: 275
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cheers guys - your info and method calls pointed me towards one of those java tutorials containing a display mode test that does pretty much everything (full screen and selectable resolution). Sadly I'm a bit thick concerning all this stuff so I'll now have to try and work out what I need in the code they provide - eeek.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Michael Dunn wrote:
thanks for the code

 
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic