remove GUI from java service