Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
Like Tree2Likes

Thread: Hypotenuse Calculations

  1. #21
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,048
    Blog Entries
    7
    Rep Power
    23

    Default Re: Hypotenuse Calculations

    Quote Originally Posted by noobplus View Post
    you need to run the codings using an applet.
    for eclipse,
    run-->run configurations--> java-applets(on the left side pane of the dialog box)-->click new button--> click run
    (by default, it will be in application running mode)
    The OP isn't using Eclipse; s/he's using Netbeans so your reply was completely off topic. Please read the thread before you attempt to reply.

    Jos
    The only person who got everything done by Friday was Robinson Crusoe.

  2. #22
    Nightcrawler is offline Member
    Join Date
    Mar 2012
    Posts
    12
    Rep Power
    0

    Default Re: Hypotenuse Calculations

    Quote Originally Posted by JosAH View Post
    An Applet or JApplet doesn't need a main( ... ) method but you can't run it if it were an application. An application does need such a method. (J)Applets run in your browser or in an applet viewer.

    kind regards,

    Jos
    Thanks! So after all that, my code worked perfectly fine, I just wasn't running it in the right environment.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. OO for calculations?
    By StateMachine in forum New To Java
    Replies: 1
    Last Post: 12-31-2011, 09:17 AM
  2. Time calculations
    By Jason in forum New To Java
    Replies: 6
    Last Post: 09-29-2011, 09:42 PM
  3. Rounding calculations
    By lynxbci in forum New To Java
    Replies: 9
    Last Post: 08-20-2011, 03:49 PM
  4. calculating the hypotenuse
    By Latanyar in forum New To Java
    Replies: 6
    Last Post: 10-12-2010, 09:20 AM
  5. decimal calculations?
    By arnab321 in forum CLDC and MIDP
    Replies: 5
    Last Post: 11-19-2008, 04:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •