As .setText on FlatTextField is called from non-swing threads, send showing of the 'x' button back to swing thread. This prevents freeze of the game in rare scenarios. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
As .setText on FlatTextField is called from non-swing threads, send showing of the 'x' button back to swing thread. This prevents freeze of the game in rare scenarios. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>