JTextField textbox1 = new JTextField(15);
Instead of this, just write
textbox1 = new JTextField(15);
Type: Posts; User: Mr.777
JTextField textbox1 = new JTextField(15);
Instead of this, just write
textbox1 = new JTextField(15);
NO. In your previous last given code, you have actually declared textbox1 as instance variable and then in constructor, you re-declare and initialize it as a local variable, so the instance variable...