Aggiungi un KeyListener al tuo JTextField e a suo interno sovrascrivi la funzione keyReleased.
Ad esempio, per controllare che non sia vuoto:
Codice:
@Override
public void keyReleased(KeyEvent e)
{
String text = this.getText().trim();
if(text.equals(""))
{
// Codice..
// Ad esempio puoi impostare una var a FALSE
return;
}
}