GIDForums  

Go Back   GIDForums > Computer Programming Forums > Java Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 08-Oct-2005, 09:24
Metallic_Kitty Metallic_Kitty is offline
New Member
 
Join Date: Oct 2005
Posts: 1
Metallic_Kitty is on a distinguished road

Help? Building a volume calculator


Hello guys, another newbie onboard!

I want to build a calculator, using graphical interfaces, which can calculate the volume of a cylinder. The user should be able to type two variables, height and radius - then the calculator gives the answer (2 sig.fig) using the simple formula PI * height * radius^2

I also want to use:

JAVA Code:
try{
    d = Double.parseDouble(...);
}catch(NumberFormatException nfe){...

to ensure correction.

Any ideas or advices? I would be really grateful...
//Kitty
Last edited by LuciWiz : 08-Oct-2005 at 09:49. Reason: Please insert your Java code between [java] & [/java] tags
 
 

Recent GIDBlogVista ?Widgets? on Windows XP by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I divi up "replies" into pages on a forum that I'm building? compuXP MySQL / PHP Forum 3 14-Jul-2007 18:08
International merchant account - high volume? imlek eCommerce / Merchant Account Forum 6 07-May-2007 04:54
Can anyone recommend an International, low volume merchant account? reports67 eCommerce / Merchant Account Forum 32 29-May-2006 03:24
Simple Calculator Application MOHAMMEDALI1989 Java Forum 1 06-Oct-2005 17:00
laptop speaker volume Hood Computer Software Forum - Windows 4 18-Jan-2005 13:52

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:14.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.