I would like the message that is programmed to be shown once the JTexfield1
loses focus, does not show if I click outside of my application anywhere on my desktop. Here I put the sample code:
private void jTextField1FocusLost(java.awt.event.FocusEvent evt) {
JOptionPane.showMessageDialog(null, "Hola "+jTextField1.getText());
}
Note: This is not the code of my application, I just put something very simple so that they get along better with the idea of what I need.