Write a Java applet


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Write a Java applet

  1. #1
    Join Date
    Oct 2005
    Posts
    2

    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
    Location
    New Jersey
    Posts
    255
    Here is a good tutorial for applets - Applet Tutorial
    Last edited by aniseed; 10-31-2005 at 03: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, 03:28 AM
  2. java applet... i'm in a fix, plz help
    By nsbscool in forum Java
    Replies: 1
    Last Post: 05-02-2005, 09:01 AM
  3. Java applet window
    By crash75uk in forum Java
    Replies: 1
    Last Post: 04-20-2005, 04:32 PM
  4. Java applet freezes machine
    By Scott in forum Java
    Replies: 1
    Last Post: 04-22-2002, 03:28 PM
  5. Quotes on writing a java applet
    By Mike Buchanan in forum Java
    Replies: 0
    Last Post: 04-12-2000, 10: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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