Hello,
I'm trying to call a function that returns a boolean value and have the results display in a Label. Here is the code that I have:
int value;
value=new Integer(txtEntry.getText()).intValue();
list= new MyList();
result.setText(list.method1(value));
add(result);
and the error I get is this:
setText(java.lang.string) in java.awt.Label cannot be applied to (boolean)
Superb - many thanks.