This code:
Gives this error:Code:try {
f.getClass().getField(txt).set(txt,real.substring(0,i));
} catch (Exception e) {
e.printStackTrace();
}
Ehh wut?!Code:Can not set java.lang.String field Window.name to java.lang.String
Why cant it assign a string, to a string object?