Results 1 to 2 of 2
  1. #1
    Snake006 is offline Member
    Join Date
    Jun 2013
    Posts
    96
    Rep Power
    0

    Default how to place a graphics window

    Hey I have one quick question. If you are extending the acm graphics program, how can you set the location of the entire window? All the set location methods within the graphics program only seem to set the location of graphical objects. I know with JFrames I can use the setLocationRelativeTo(null) to position the JFrame in the center. Any ideas on how to set the location of a graphics window.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,421
    Rep Power
    25

    Default Re: how to place a graphics window

    Can you post a link to the API doc for the classes you are asking about?
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. A window pops up, but no graphics
    By MW130 in forum New To Java
    Replies: 1
    Last Post: 01-07-2014, 08:58 AM
  2. Centering graphics on the graphics window
    By janyc71876 in forum New To Java
    Replies: 5
    Last Post: 11-25-2013, 07:25 PM
  3. Replies: 16
    Last Post: 12-07-2011, 07:44 PM
  4. Replies: 0
    Last Post: 02-11-2009, 11:12 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
  •