[JAVAGUI] bug fixing - synchronize JMX thread and the Swing thread; if there is only one popup, use this popup directly