Results 1 to 2 of 2
  1. #1
    jan1ey is offline Member
    Join Date
    Feb 2009
    Rep Power

    Default Resolution problem!

    Hi guys,

    I am writing a simple gaming program (in eclipse). What I am trying to figure out, is how to enable all resolutions to display a full size picture on the screen.

    I can fit the picture to my own screen, but am having problems trying to enable it to automatically fit "ANY" screen.

    Also, I have "set" the collisions to work on the "set width and height" of my screen and need to know if there was any way to "automatically" do that too.

    I am a beginner, so please be gentle :-)

    Any assistance, I would appreciate,



  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Rep Power


    Java Code:
    If it's that you don't know how to get the resolution. Then scale the image to fit it.

Similar Threads

  1. What's Your New Year's Resolution?
    By CaptainMorgan in forum Forum Lobby
    Replies: 4
    Last Post: 11-16-2008, 09:05 PM
  2. Prob. with screen resolution and Frame size??
    By SANDY_INDIA in forum AWT / Swing
    Replies: 1
    Last Post: 08-16-2008, 12:51 PM
  3. Replies: 0
    Last Post: 03-10-2008, 02:36 PM
  4. How to change the resolution ?
    By samson in forum Java 2D
    Replies: 1
    Last Post: 07-17-2007, 11:15 AM

Posting Permissions

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