Java apps in swing to receive any instruction send from android.