Normal
Dankeschöngelöst so:[code=Java] while (i_server == 1) { line = in.readLine(); if (line != null){ ta_s.setText(ta_s.getText()+line +"\n"); ta_s.setCaretPosition(ta_s.getText().length()); } }[/code]Deins hat auch null ausgegeben Rysa
Dankeschön
gelöst so:
[code=Java]
while (i_server == 1)
{
line = in.readLine();
if (line != null){
ta_s.setText(ta_s.getText()+line +"\n");
ta_s.setCaretPosition(ta_s.getText().length());
}
}[/code]
Deins hat auch null ausgegeben Rysa