public final void setMethod() { // sets text of method jTextArea1.setText(rd.getMethod()); jTextArea1.setCaretPosition(0); }