Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Help needed for java code
08-29-2008, 10:19 AM #1
- Join Date
- Aug 2008
- Thanked 0 Times in 0 Posts
Help needed for java code
basically what i was trying to do is write a code to clear text variables
txtAnswer.setText(s); error i get says incompatible
what its meant to do is clear variables that you input
lets say addition of two numbers
i.e string s;
Last edited by Inquisit; 08-29-2008 at 10:21 AM. Reason: mistake typed
08-29-2008, 11:38 AM #2
What is the type of txtNumber1? Or the other txtNumbers? Are they JLabels?
Without knowing what types they are I'm not sure how to answer your question.
Also, what is Ceil?
If you could post your full working source code, that would help."To iterate is human, to recurse divine." -L. Peter Deutsch