Process triggers in another thread than swing