summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2018-09-07 12:44:10 (GMT)
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2018-09-07 12:44:10 (GMT)
commit3ae9530365aed303ad750b61e0c05ee2d62688c3 (patch)
tree0d4cad0e3490c534b7c507e1318891230574198a
parent84b677adb87ade01c34ad8a618d0e4696ccb9576 (diff)
downloadmocca-3ae9530365aed303ad750b61e0c05ee2d62688c3.zip
mocca-3ae9530365aed303ad750b61e0c05ee2d62688c3.tar.gz
mocca-3ae9530365aed303ad750b61e0c05ee2d62688c3.tar.bz2
Jpanel width extended
-rw-r--r--utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java b/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
index 2765bc8..b3a5864 100644
--- a/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
+++ b/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
@@ -54,7 +54,7 @@ public class NewVersionDialog extends JDialog {
public NewVersionDialog(String version) throws IOException {
setTitle("New Version Available!");
setResizable(false);
- setBounds(100, 100, 330, 180);
+ setBounds(100, 100, 375, 180);
getContentPane().setLayout(new BorderLayout());
contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
getContentPane().add(contentPanel, BorderLayout.CENTER);
@@ -63,12 +63,12 @@ public class NewVersionDialog extends JDialog {
ImageIcon icon = new ImageIcon(myPicture.getScaledInstance(50, 50, Image.SCALE_SMOOTH));
{
JLabel lblNewVersion = new JLabel("New Mocca Version " + version + " available.");
- lblNewVersion.setBounds(76, 36, 228, 27);
+ lblNewVersion.setBounds(76, 36, 283, 27);
contentPanel.add(lblNewVersion);
}
{
JLabel lblNewLabel = new JLabel("Open download page now?");
- lblNewLabel.setBounds(76, 55, 186, 27);
+ lblNewLabel.setBounds(76, 55, 283, 27);
contentPanel.add(lblNewLabel);
}
{