|
|
@ -21,6 +21,8 @@ import java.awt.Dimension; |
|
|
|
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; |
|
|
|
|
|
|
|
import java.awt.event.WindowAdapter; |
|
|
|
|
|
|
|
import java.awt.event.WindowEvent; |
|
|
|
import java.util.Locale; |
|
|
|
import java.util.Locale; |
|
|
|
import javax.swing.BorderFactory; |
|
|
|
import javax.swing.BorderFactory; |
|
|
|
import javax.swing.Icon; |
|
|
|
import javax.swing.Icon; |
|
|
@ -96,6 +98,12 @@ public class SyncFailedPluginsDialog extends JDialog { |
|
|
|
this.setResizable(false); |
|
|
|
this.setResizable(false); |
|
|
|
this.add(body, BorderLayout.CENTER); |
|
|
|
this.add(body, BorderLayout.CENTER); |
|
|
|
this.setSize(new Dimension(GeneralContext.getLocale().equals(Locale.US) ? 400 : 380, 225)); |
|
|
|
this.setSize(new Dimension(GeneralContext.getLocale().equals(Locale.US) ? 400 : 380, 225)); |
|
|
|
|
|
|
|
this.addWindowListener(new WindowAdapter() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void windowClosing(WindowEvent e) { |
|
|
|
|
|
|
|
hideDialog(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
GUICoreUtils.centerWindow(this); |
|
|
|
GUICoreUtils.centerWindow(this); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|