Class BTextField


 




Constructor Summary

BTextField(int i)

specify i - the size of the textfield

 
Method Summary
  getText()
 double getDouble()
          Gets the value in the textfield as an double - returns -1 if not an integer
 int getInt()
          Gets the value in the textfield as an integer - returns -1 if not an integer
 void setText(double i)
          Set the text to an double
 void setText(int i)
          Set the text to an int
 

setText(String s)

Sets the text to a string s

 
Methods inherited from class

There are lots of other methods that are inherited from JTextfield

like: