Results 1 to 5 of 5

Thread: Help Pleasee!!!

  1. #1
    csprrung is offline Member
    Join Date
    Apr 2012
    Posts
    8
    Rep Power
    0

    Default Help Pleasee!!!

    You are to draw an object using the Graphics methods. Also, you need to write the name of your object below the drawing. Your object must have some detail. Finally, your panel must have a different background color.

    PHP Code:
    public void paintComponent(Graphics g) {
    	super.paintComponent(g);
    	Graphics2D g2d = (Graphics2D)g;
    	drawing messages sent to g2d
        }

  2. #2
    Sierra is offline AN21XX
    Join Date
    Mar 2012
    Location
    Munich
    Posts
    297
    Rep Power
    3

    Default Re: Help Pleasee!!!


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

    Default Re: Help Pleasee!!!

    What is the question?
    There are dozens of code samples on the forum that use the graphics class's draw methods. Do a Search.
    If you don't understand my response, don't ignore it, ask a question.

  4. #4
    csprrung is offline Member
    Join Date
    Apr 2012
    Posts
    8
    Rep Power
    0

    Default Re: Help Pleasee!!!

    i dont understant how to set it up

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

    Default Re: Help Pleasee!!!

    Copy a working program that does some drawing, compile and execute it.
    Then modify it to do want you want it to do; compile it,fix the bugs, compile it again until its clean and then execute it.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. my homework is due tomorow pleasee helpppp !!!!
    By blazinhieu in forum New To Java
    Replies: 4
    Last Post: 03-06-2010, 01:37 PM
  2. pleasee help me out for this recursive question!!!
    By javasucks2009 in forum New To Java
    Replies: 3
    Last Post: 03-18-2009, 09:45 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
  •