pane.add(tre);

tre non è definito per il resto spostando il focus a me funziona