DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005

    Unhappy Write a Java applet

    Write a Java applet which animates the radio (descibed below), using threads for each of the composed processed.

    The radio has an on/off switch which turn the radio on and off respectively.
    Tuning is controlled by two buttons scan and reset which operate as
    follows. When the radio is turned on or reset is pressed, the radio is tuned to
    the top frequency (108 MHz). When scan is pressed, the radio scans towards
    the bottom of the band (88 MHz). It stops scanning when it locks on to a
    station or it reaches the bottom (event end). If the radio is currently tuned
    to a station and the scan button is pressed, then it starts to scan from the
    stationís frequency towards the bottom. Similarly, when reset is pressed the
    receiver tunes to the top. The scanning proceeds in steps of 1 MHz.
    There are also two other buttons, tunefav and setfav, which allow the user
    to assign a frequency as her/his favorite. To do so, one scans to the desired
    stationís frequency and then presses setfav. If afterwards one presses tunefav then the radio tunes back into the favorite frequency.
    When switched on, the radio is set to the top of the frequency range. The
    favorite is not forgotten when switching the radio off.

    Sorry for the large thread but i really dont know what to write...

  2. #2
    Join Date
    Oct 2005
    New Jersey
    Here is a good tutorial for applets - Applet Tutorial
    Last edited by aniseed; 10-31-2005 at 02:29 AM. Reason: URL tag added
    Happiness is good health and a bad memory.

Similar Threads

  1. Java applet problem!
    By MarkAD in forum Java
    Replies: 5
    Last Post: 05-11-2005, 02:28 AM
  2. java applet... i'm in a fix, plz help
    By nsbscool in forum Java
    Replies: 1
    Last Post: 05-02-2005, 08:01 AM
  3. Java applet window
    By crash75uk in forum Java
    Replies: 1
    Last Post: 04-20-2005, 03:32 PM
  4. Java applet freezes machine
    By Scott in forum Java
    Replies: 1
    Last Post: 04-22-2002, 02:28 PM
  5. Quotes on writing a java applet
    By Mike Buchanan in forum Java
    Replies: 0
    Last Post: 04-12-2000, 09:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center