S
shoa
Hello
I have a object (myObject) with a value (ID) that is the "int" type. I have
to display this value in a jTextField (an extends of JTextField). As the
function setText in jTextField requires a String value, I have to add a
string "" into function setText as the following:
jTextField.setText (myOjbect.getObjectID() + "" );
Is there any better way to do so that I do not have to add "" string?
Thank you
S.Hoa
I have a object (myObject) with a value (ID) that is the "int" type. I have
to display this value in a jTextField (an extends of JTextField). As the
function setText in jTextField requires a String value, I have to add a
string "" into function setText as the following:
jTextField.setText (myOjbect.getObjectID() + "" );
Is there any better way to do so that I do not have to add "" string?
Thank you
S.Hoa