Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2014
    Posts
    1
    Rep Power
    0

    Exclamation Need Help on Java with a House Drawing Project

    Hi all,
    At school,I use a program called eclipse and I need help with it. I want to know how to build a house with the program. We use a pen in java. It is a drawing tool. I dont know how to do it. I need help!

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,423
    Blog Entries
    7
    Rep Power
    27

    Default Re: Need Help on Java with a House Drawing Project

    Take a piece of grid paper and draw a simple house on it. Now write down the coordinates of the corners of the house (assume you have a grid of 200x200 where the upper left corner of the paper has coordinate (0, 0); once you have the coordinates you can do the same with a computer; assume you have a JPanel with a width and height of 200x200.

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Replies: 2
    Last Post: 06-26-2014, 07:43 PM
  2. Replies: 6
    Last Post: 06-20-2014, 04:01 PM
  3. Java Basics: How to draw a house?
    By xforeverlove21 in forum New To Java
    Replies: 6
    Last Post: 01-20-2013, 05:15 PM
  4. Replies: 7
    Last Post: 11-27-2012, 10:16 AM
  5. Replies: 6
    Last Post: 08-18-2012, 09:54 AM

Tags for this Thread

Posting Permissions

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