About 789,000 results
Open links in new tab
  1. Applet Program in Java to Draw House with Output

    Mar 23, 2025 · In this section, we can manual you via growing a simple Java Applet application to draw a primary house. A Java Applet is a special kind of Java program that is designed to be run within a web browser.

  2. awt - Create a House using java - Stack Overflow

    public House() { setBackground(Color.WHITE); public void paint(Graphics window) { window.setColor(Color.BLUE); window.drawRect(250, 300, 50, 125); window.fillRect(350, 300, 50, 135); window.setColor(Color.PINK); window.drawRect(200, 150, 350, 300); window.fillRect(200, 150, 350, 300); window.setColor(Color.GREEN); Polygon poly = …

  3. simple-home-using-java-applet/simple_home.java at master

    Very simple home design using Java applet. Contribute to sjbushra/simple-home-using-java-applet development by creating an account on GitHub.

  4. A simple house drawing project using JAVA and APPLET

    A simple house drawing project using JAVA and APPLET - ziggyboot/House-Drawing-Using-Java-and-applet

  5. Simple House Java Code - CodePal

    Learn how to create a simple house using Java with this step-by-step guide. Get the code and start building your own house today!

  6. Java House Applet - Stack Overflow

    Apr 25, 2012 · public class HouseApplet extends Applet { . boolean leftWin, rightWin, door; public void init() . leftWin = false; rightWin = false; door = false; . setBackground(Color.white); . addMouseListener(new MyMouseListener()); . public void paint(Graphics g) super.paint(g); // Draw the house. g.setColor(Color.black);

  7. Java House Drawing - CodePal

    Learn how to create a house drawing application using basic graphical primitives in Java with this step-by-step guide.

  8. GitHub - husiyang/simple_2D_house: this house is coded by Java

    this house is coded by Java in Eclipse and is a homework of my CG course. it contains three line algorithms (explicit form,implicit form,parametric form) and a triangle algorithm.RGB function is needed in this house. I implement drawing2D class and use it in my house drawing.

  9. Build Java applet to draw series of houses using a loop

    Jul 6, 2013 · I am to first design a simple applet to build a house, for which I have the code below: Polygon poly = new Polygon(); // Roof Polygon. poly.addPoint (50,90); poly.addPoint (150, 50); poly.addPoint (250, 90); page.setColor (new Color(218,165,32)); // Custom brown color. page.fillPolygon (poly); page.setColor (Color.black); .

  10. Simple House in Java - CodePal

    This function in Java allows you to create a simple house using ASCII art. It is a great way to practice your programming skills and create a fun visual representation of a house. The …

  11. Some results have been removed
Refresh