Re: a little help please
From: KiLVaiDeN (KiLVaiDeN_at_CaRaMaiL.CoM)
Date: 11/29/04
- Next message: KiLVaiDeN: "Re: Can't compile (text to graphic window)"
- Previous message: Mike B: "Re: a little help please"
- In reply to: phenom: "a little help please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Nov 2004 00:05:24 +0100
"phenom" wrote...
> i'm having is getting the JTextField inputs into the calculations. how do
> i take the text inputs and make them integers so i can use them to run the
> needed calculations?
String input1 = yourtextfield1.getText();
int integer1 = Integer.parseInt(input1);
Is that what you need?
K
- Next message: KiLVaiDeN: "Re: Can't compile (text to graphic window)"
- Previous message: Mike B: "Re: a little help please"
- In reply to: phenom: "a little help please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|