• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help...

 
aldrin cabrera
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
need help again this is my take home final exam, i dont know where to start... help guys please...

a. write an applet that displays a city skyline, similar to the drawing shown in figure 7-13. Name the applet Skyline.Java



http://img123.imageshack.us/img123/6469/fig0fu.jpg

b. Add a button to the skyline applet. when the user clicks the button, change the sky color from day to night.

c. Modify the applet created in exercise b so the sky changes from day to night or night to day with each successive button click.

d. Add a moon to the sky for the night view, and a sun for the day view.

--- appreciate the help guys thanks...


i need it guys in saturday, help me please... thanks...
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[ UD: removed content that violates JavaRanchs "Do Your Own Homework" rule ]
[ April 05, 2006: Message edited by: Ulf Dittmer ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you say "I don't know where to start", I'm assuming that's not literally true. You have learned in your course how to write an applets, how to create graphics with them, and how to add buttons that trigger actions, right? So where exactly are you stuck? Tell us what you have so far, and we'll try to get you going again.
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf, It was my mistake.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic