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