|
|
|
@ -18,7 +18,6 @@ import com.fr.json.JSONObject;
|
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
import java.awt.Frame; |
|
|
|
|
import java.awt.event.MouseAdapter; |
|
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
|
import java.awt.event.MouseListener; |
|
|
|
@ -138,9 +137,14 @@ public class SyncFailedPluginsDialog extends JDialog {
|
|
|
|
|
return !restartButton.isEnabled(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void hideDialog(){ |
|
|
|
|
this.dispose(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private MouseListener restartButtonClickListener = new MouseAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
hideDialog(); |
|
|
|
|
restartButton.setEnabled(false); |
|
|
|
|
restartHelper.restartForUpdate(frame); |
|
|
|
|
} |
|
|
|
|