Results 1 to 2 of 2
  1. #1
    no s e e d s is offline Member
    Join Date
    Dec 2009
    Posts
    3
    Rep Power
    0

    Default Program to produce a random landscape in Java

    does anyone know the code that would make a random landscape with a black rectangle background 600 pixels wide by 400 pixels tall, with randomly placed, random sized and randomly coloured rectangles aligned on the bottom of the black rectangle.

    If you have the code please post it here. it would be very much appreciated. thanks.:)

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

Similar Threads

  1. Java program problem.. Arrays.. Random Numbers
    By Chewart in forum New To Java
    Replies: 16
    Last Post: 11-16-2009, 10:21 PM
  2. Program To Call Random Methods
    By nyamtoko in forum Advanced Java
    Replies: 5
    Last Post: 12-01-2008, 11:49 AM
  3. Replies: 3
    Last Post: 05-27-2008, 01:51 PM
  4. Use unicode in iReport to produce reports
    By nasir_7b in forum Advanced Java
    Replies: 0
    Last Post: 03-17-2008, 11:53 AM
  5. text Strings to produce letters
    By dc2acgsr99 in forum New To Java
    Replies: 7
    Last Post: 01-29-2008, 08:08 PM

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
  •