1 Replies - 199 Views - Last Post: 09 April 2012 - 05:00 PM Rate Topic: -----

#1 arturr  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 21
  • Joined: 09-February 12

Simple question about applets

Posted 09 April 2012 - 03:47 PM

Hi, I need some help with my hw. My assignment is to design an applet that draws the space shuttle. The applet needs to have four methods which draw larger parts of the shuttle. It also needs to have method call drawShuttle which draws the entire shuttle by calling the four methods. So far I have only saw applets which draw shapes by using the paint method which call methods like drawRect or drawOval etc. So I a little confused on how should I do this.
If someone can explain it to me I would be greatful. Any comments are welcome. Thank you.

This post has been edited by arturr: 09 April 2012 - 03:48 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Simple question about applets

#2 AVReidy  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 52
  • View blog
  • Posts: 391
  • Joined: 17-February 11

Re: Simple question about applets

Posted 09 April 2012 - 05:00 PM

Well, you could use drawOval to draw a very small oval about a million times to give the illusion of a line, but good luck finding a function whose line resembles a space shuttle. Are you sure your applet has to draw the shuttle? Or can it generate a picture instead?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1