applets


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: applets

  1. #1
    Join Date
    Mar 2005
    Posts
    12

    Exclamation applets

    can anyone help me with a couple of applets?

    the first one deals with using the drawLine method from Graphics to get a digit from the user and draw the specified digit. Also, there need to be radio buttons to change the color of the digit.

    the second one involves drawing shapes. the shapes (circle, rectangle, oval) are selected using a combo box. the user needs to also control the colors of the shapes using radio buttons, & the number of shapes (1, 10, 20, 30, 40) from a combo box. when the shapes are drawn, they need to be offset like 15 units to the right & 15 units down.

    any help would be greatly appreciated . . .

  2. #2
    Join Date
    Sep 2004
    Posts
    223
    have you had a go at it? do you have a particular problem that needs to be fixed?

    I would suggest that you try it before you ask here, you may be supprised how easy things like this are...

    But anyways, with the first one, do you mean that a user will select say, 9 and then your applet will draw the number 9, and have color control over it?

    this site:
    http://www.dgp.toronto.edu/~mjmcguff/learn/java/

    has a few code code snipets for you to look at
    A kram a day keeps the doctor......guessing

  3. #3
    Join Date
    Mar 2005
    Posts
    12
    i figured the first one out, just had a brain fart.

    thanks . . .

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