Results 1 to 2 of 2
  1. #1
    Lionlev is offline Senior Member
    Join Date
    May 2012
    Posts
    172
    Rep Power
    3

    Question Hmmm, scale the window to the screen size? (Not touching resolution.)

    Hello, basically I have jframe and jpanel inside, and on that jpanel I paint components using buffered images and stuff.
    But how can I make it run on full screen but with the same resolution?
    UPDATE: ok so I've made it work on full screen but the resolution is still high, I need to scale the JPanel to the screen's resolution (Just like in normal games you change the resolution in full screen)
    Last edited by Lionlev; 10-26-2012 at 05:02 PM.
    WARNING I am Russian so it's possible that I wont understand you correctly...

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: Hmmm, scale the window to the screen size? (Not touching resolution.)

    Considering your posting history, I'd say it would be much easier to just go through the Oracle tutorials instead of asking here and having to wait till somebody gets around to answering.

    For this question: Lesson: Full-Screen Exclusive Mode API (The Java™ Tutorials > Bonus)

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 0
    Last Post: 05-04-2011, 09:35 PM
  2. screen resolution problem
    By prabhug1987 in forum Advanced Java
    Replies: 1
    Last Post: 10-15-2010, 07:01 PM
  3. Full Screen Frame Resolution Problem
    By Krooger in forum AWT / Swing
    Replies: 2
    Last Post: 11-24-2009, 11:05 PM
  4. Screen Resolution Problems
    By RicKaufman in forum AWT / Swing
    Replies: 1
    Last Post: 10-04-2009, 06:07 PM
  5. Prob. with screen resolution and Frame size??
    By SANDY_INDIA in forum AWT / Swing
    Replies: 1
    Last Post: 08-16-2008, 12:51 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
  •