Results 1 to 3 of 3
  1. #1
    muhammad naim is offline Member
    Join Date
    Jul 2013
    Location
    Malaysia
    Posts
    4
    Rep Power
    0

    Default Two Thread To Calculate Area Rectangle And Area Triangle

    Hello, can help me to create two thread for calculate area rectangle and triangle.

    i'm newbie

    any tutorial?


  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default Re: Two Thread To Calculate Area Rectangle And Area Triangle

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,782
    Rep Power
    5

    Default Re: Two Thread To Calculate Area Rectangle And Area Triangle

    First, why not just write a program with methods to calculate each required area. Then later, after
    you debugged that part, you can use threads to invoke those methods.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

Similar Threads

  1. Swing calculate area not printing anything
    By zhider in forum New To Java
    Replies: 2
    Last Post: 10-23-2012, 07:04 AM
  2. Area of Triangle
    By donfanzu in forum New To Java
    Replies: 7
    Last Post: 04-02-2012, 05:21 AM
  3. How to change color of area contained by rectangle
    By thayalan in forum AWT / Swing
    Replies: 2
    Last Post: 06-04-2009, 04:48 AM
  4. Replies: 0
    Last Post: 04-12-2008, 08:39 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
  •