I've a form (as in the screenshot) that has the login part should be disabled until the user hit "Run Server".
What the "Run Server" button do is calling another class: Server.getInstance().startMe();
What I want to do is after calling the another class, is to enable the login part, but the problem after hitting the "Run Server" button, the whole form becomes out of my control and didn't accept any input from me, and it even didn't enable the login part!
The "Run Server" code:
private void runServerButtonActionPerformed(java.awt.event.ActionEvent evt) {
Server.getInstance().startMe();
runServerButton.setEnabled(false);
userLoginEnterBottun.setEnabled(true);
useridLoginTextField.setEnabled(true);
passwordLoginTextField.setEnabled(true);
}