런타임 동안이 명령문이 작동하지 않는 것 같습니다.런타임 동안 Java 컨트롤/속성 사용?
textWords.setText(item);
textWords 개체이다의 setText는 방법 및 제품의 정수이다.
누구나 익숙한가요? 런타임 중에이 작업을 수행 할 수없는 것 같습니다.
런타임 중에 오류가 없습니다. 아무 것도하지 않습니다.
public class frmMain extends javax.swing.JFrame {
public frmMain() {
initComponents();
textWords.append("Bryan"); // THIS works!! but this only //happens when the form is initialized, not very usefull
}
//Other pre generated code here.
private void displayItem() {
//Method I created to help me catch data
// and make a call to this form.
// none of these are working.
txtTest.setText(item);
textWords.setText(item);
textWords.insert("Bryan",1);
textWords.append("number");
}
후 더 많은 코드, 오류, 이것보다 더 아무것도 참조하십시오. 당신의 질문에서 어떤 것을 말할 수 없습니다. – duffymo