I found, that the following code is interpreted correctly
- Code: Select all
jLabel2.setText (res.getString ("MyText"));
( res is of type RessourceBundle, it was assigned a valid value elsewhere)
Also, the following code is interpreted correctly:
- Code: Select all
jLabel2.setText ("MyText" + ":");
Finally, the combination of the above code is not interpreted, which leads to the situation that jLabel2 does not get a text at all:
- Code: Select all
jLabel2.setText (res.getString ("MyText") + ":");
Is that behavior known? Is there a way to make the interpreter recognize the last line?
Thank you in advance
Chris