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

    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 online now Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

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