File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes help... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "help..." Watch "help..." New topic


aldrin cabrera

Joined: Mar 29, 2006
Posts: 2
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

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

Joined: Aug 26, 2005
Posts: 824
[ UD: removed content that violates JavaRanchs "Do Your Own Homework" rule ]
[ April 05, 2006: Message edited by: Ulf Dittmer ]

Lack of will power has caused more failure than lack of intelligence or ability.
My Blog | Red5 Resources | Technology Update | Daily Technology Tips
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
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

Joined: Aug 26, 2005
Posts: 824
Thanks Ulf, It was my mistake.
I agree. Here's the link:
subject: help...
It's not a secret anymore!