set cursor inside a JTextField



Hi there,

can anyone tell me please why when i launch my GUI and press the LOG IN
button the cursor does not appear inside the tableNoField??


void logInButton_mouseClicked(MouseEvent e) {
userNoTextField.setVisible(false);
orderBillPanel.setVisible(true);
menuPanel.setVisible(true);
beveragesPanel.setVisible(true);
ingredientsChoiceButton.setEnabled(true);
billButton.setEnabled(true);
multiplesChoicePanel.setVisible(true);
tablePanel.setVisible(true);
tableNoField.requestFocus();
}

Thanks

.