increased dialog width
This commit is contained in:
parent
04c18fe95e
commit
6f221c681c
|
@ -2,6 +2,7 @@ package me.teridax.jcash.gui.deposit;
|
||||||
|
|
||||||
import me.teridax.jcash.Logging;
|
import me.teridax.jcash.Logging;
|
||||||
import me.teridax.jcash.decode.StringDecoder;
|
import me.teridax.jcash.decode.StringDecoder;
|
||||||
|
import me.teridax.jcash.gui.IconProvider;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
|
@ -23,9 +24,11 @@ public class DepositView {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showDialog() {
|
public void showDialog() {
|
||||||
|
dialog.setIconImage(IconProvider.getWindowIcon());
|
||||||
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
|
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
|
||||||
dialog.setTitle(translate("Deposit money"));
|
dialog.setTitle(translate("Deposit money"));
|
||||||
dialog.pack();
|
dialog.pack();
|
||||||
|
dialog.setSize(dialog.getWidth() * 2, dialog.getHeight());
|
||||||
dialog.setResizable(false);
|
dialog.setResizable(false);
|
||||||
dialog.setLocationRelativeTo(null);
|
dialog.setLocationRelativeTo(null);
|
||||||
dialog.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
dialog.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package me.teridax.jcash.gui.takeoff;
|
package me.teridax.jcash.gui.takeoff;
|
||||||
|
|
||||||
import me.teridax.jcash.decode.StringDecoder;
|
import me.teridax.jcash.decode.StringDecoder;
|
||||||
|
import me.teridax.jcash.gui.IconProvider;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
|
@ -24,9 +25,11 @@ public class TakeoffView {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showDialog() {
|
public void showDialog() {
|
||||||
|
dialog.setIconImage(IconProvider.getWindowIcon());
|
||||||
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
|
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
|
||||||
dialog.setTitle(translate("Takeoff money"));
|
dialog.setTitle(translate("Takeoff money"));
|
||||||
dialog.pack();
|
dialog.pack();
|
||||||
|
dialog.setSize(dialog.getWidth() * 2, dialog.getHeight());
|
||||||
dialog.setResizable(false);
|
dialog.setResizable(false);
|
||||||
dialog.setLocationRelativeTo(null);
|
dialog.setLocationRelativeTo(null);
|
||||||
dialog.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
dialog.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||||
|
|
|
@ -2,6 +2,7 @@ package me.teridax.jcash.gui.transfer;
|
||||||
|
|
||||||
import me.teridax.jcash.Logging;
|
import me.teridax.jcash.Logging;
|
||||||
import me.teridax.jcash.decode.StringDecoder;
|
import me.teridax.jcash.decode.StringDecoder;
|
||||||
|
import me.teridax.jcash.gui.IconProvider;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
|
@ -25,6 +26,7 @@ public class TransferView {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showDialog() {
|
public void showDialog() {
|
||||||
|
dialog.setIconImage(IconProvider.getWindowIcon());
|
||||||
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
|
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
|
||||||
dialog.setTitle(translate("Transfer money"));
|
dialog.setTitle(translate("Transfer money"));
|
||||||
dialog.pack();
|
dialog.pack();
|
||||||
|
|
Loading…
Reference in New Issue