Creacion de number formated text field y implementacion de prueba como campos de efectivo
This commit is contained in:
@@ -28,6 +28,7 @@ package danielcortes.xyz.views;
|
||||
import com.intellij.uiDesigner.core.GridConstraints;
|
||||
import com.intellij.uiDesigner.core.GridLayoutManager;
|
||||
import com.intellij.uiDesigner.core.Spacer;
|
||||
import danielcortes.xyz.views.components.NumberFormatedTextField;
|
||||
|
||||
import javax.swing.*;
|
||||
import javax.swing.border.TitledBorder;
|
||||
@@ -35,15 +36,15 @@ import java.awt.*;
|
||||
|
||||
public class ArqueoView {
|
||||
private JPanel contentPanel;
|
||||
private JTextField veinteMilField;
|
||||
private JTextField diezMilField;
|
||||
private JTextField cincoMilField;
|
||||
private JTextField dosMilField;
|
||||
private JTextField milField;
|
||||
private JTextField quinientosField;
|
||||
private JTextField cienField;
|
||||
private JTextField cincuentaField;
|
||||
private JTextField diezField;
|
||||
private NumberFormatedTextField veinteMilField;
|
||||
private NumberFormatedTextField diezMilField;
|
||||
private NumberFormatedTextField cincoMilField;
|
||||
private NumberFormatedTextField dosMilField;
|
||||
private NumberFormatedTextField milField;
|
||||
private NumberFormatedTextField quinientosField;
|
||||
private NumberFormatedTextField cienField;
|
||||
private NumberFormatedTextField cincuentaField;
|
||||
private NumberFormatedTextField diezField;
|
||||
private JTextField chequesField;
|
||||
private JTextField tarjetasField;
|
||||
private JTextField efectivoField;
|
||||
@@ -52,15 +53,6 @@ public class ArqueoView {
|
||||
private JTextField rendidoField;
|
||||
private JButton guardarEfectivoButton;
|
||||
private JButton guardarDocumentosButton;
|
||||
private JLabel errorVeinteMil;
|
||||
private JLabel errorDiezMil;
|
||||
private JLabel errorCincoMil;
|
||||
private JLabel errorDosMil;
|
||||
private JLabel errorMil;
|
||||
private JLabel errorQuinientos;
|
||||
private JLabel errorCien;
|
||||
private JLabel errorCincuenta;
|
||||
private JLabel errorDiez;
|
||||
private JLabel errorCheques;
|
||||
private JLabel errorTarjetas;
|
||||
private JTextField diferenciaField;
|
||||
@@ -70,39 +62,39 @@ public class ArqueoView {
|
||||
return contentPanel;
|
||||
}
|
||||
|
||||
public JTextField getVeinteMilField() {
|
||||
public NumberFormatedTextField getVeinteMilField() {
|
||||
return veinteMilField;
|
||||
}
|
||||
|
||||
public JTextField getDiezMilField() {
|
||||
public NumberFormatedTextField getDiezMilField() {
|
||||
return diezMilField;
|
||||
}
|
||||
|
||||
public JTextField getCincoMilField() {
|
||||
public NumberFormatedTextField getCincoMilField() {
|
||||
return cincoMilField;
|
||||
}
|
||||
|
||||
public JTextField getDosMilField() {
|
||||
public NumberFormatedTextField getDosMilField() {
|
||||
return dosMilField;
|
||||
}
|
||||
|
||||
public JTextField getMilField() {
|
||||
public NumberFormatedTextField getMilField() {
|
||||
return milField;
|
||||
}
|
||||
|
||||
public JTextField getQuinientosField() {
|
||||
public NumberFormatedTextField getQuinientosField() {
|
||||
return quinientosField;
|
||||
}
|
||||
|
||||
public JTextField getCienField() {
|
||||
public NumberFormatedTextField getCienField() {
|
||||
return cienField;
|
||||
}
|
||||
|
||||
public JTextField getCincuentaField() {
|
||||
public NumberFormatedTextField getCincuentaField() {
|
||||
return cincuentaField;
|
||||
}
|
||||
|
||||
public JTextField getDiezField() {
|
||||
public NumberFormatedTextField getDiezField() {
|
||||
return diezField;
|
||||
}
|
||||
|
||||
@@ -130,14 +122,6 @@ public class ArqueoView {
|
||||
return rendidoField;
|
||||
}
|
||||
|
||||
public JTextField getDebeRendirField() {
|
||||
return debeRendirField;
|
||||
}
|
||||
|
||||
public JTextField getDiferenciaField() {
|
||||
return diferenciaField;
|
||||
}
|
||||
|
||||
public JButton getGuardarEfectivoButton() {
|
||||
return guardarEfectivoButton;
|
||||
}
|
||||
@@ -146,42 +130,6 @@ public class ArqueoView {
|
||||
return guardarDocumentosButton;
|
||||
}
|
||||
|
||||
public JLabel getErrorVeinteMil() {
|
||||
return errorVeinteMil;
|
||||
}
|
||||
|
||||
public JLabel getErrorDiezMil() {
|
||||
return errorDiezMil;
|
||||
}
|
||||
|
||||
public JLabel getErrorCincoMil() {
|
||||
return errorCincoMil;
|
||||
}
|
||||
|
||||
public JLabel getErrorDosMil() {
|
||||
return errorDosMil;
|
||||
}
|
||||
|
||||
public JLabel getErrorMil() {
|
||||
return errorMil;
|
||||
}
|
||||
|
||||
public JLabel getErrorQuinientos() {
|
||||
return errorQuinientos;
|
||||
}
|
||||
|
||||
public JLabel getErrorCien() {
|
||||
return errorCien;
|
||||
}
|
||||
|
||||
public JLabel getErrorCincuenta() {
|
||||
return errorCincuenta;
|
||||
}
|
||||
|
||||
public JLabel getErrorDiez() {
|
||||
return errorDiez;
|
||||
}
|
||||
|
||||
public JLabel getErrorCheques() {
|
||||
return errorCheques;
|
||||
}
|
||||
@@ -190,6 +138,14 @@ public class ArqueoView {
|
||||
return errorTarjetas;
|
||||
}
|
||||
|
||||
public JTextField getDiferenciaField() {
|
||||
return diferenciaField;
|
||||
}
|
||||
|
||||
public JTextField getDebeRendirField() {
|
||||
return debeRendirField;
|
||||
}
|
||||
|
||||
{
|
||||
// GUI initializer generated by IntelliJ IDEA GUI Designer
|
||||
// >>> IMPORTANT!! <<<
|
||||
@@ -206,7 +162,7 @@ public class ArqueoView {
|
||||
*/
|
||||
private void $$$setupUI$$$() {
|
||||
contentPanel = new JPanel();
|
||||
contentPanel.setLayout(new GridLayoutManager(2, 2, new Insets(0, 0, 0, 0), -1, -1));
|
||||
contentPanel.setLayout(new GridLayoutManager(3, 2, new Insets(0, 0, 0, 0), -1, -1));
|
||||
final JPanel panel1 = new JPanel();
|
||||
panel1.setLayout(new GridLayoutManager(7, 2, new Insets(10, 10, 10, 10), -1, -1));
|
||||
contentPanel.add(panel1, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||
@@ -263,113 +219,68 @@ public class ArqueoView {
|
||||
panel1.add(efectivoField, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||
final JPanel panel2 = new JPanel();
|
||||
panel2.setLayout(new GridLayoutManager(2, 1, new Insets(0, 0, 0, 0), -1, -1));
|
||||
contentPanel.add(panel2, new GridConstraints(0, 0, 2, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||
contentPanel.add(panel2, new GridConstraints(0, 0, 3, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||
final JPanel panel3 = new JPanel();
|
||||
panel3.setLayout(new GridLayoutManager(19, 2, new Insets(10, 10, 10, 10), -1, -1));
|
||||
panel3.setLayout(new GridLayoutManager(10, 2, new Insets(10, 10, 10, 10), -1, -1));
|
||||
panel2.add(panel3, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||
panel3.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), "Detalle Efectivo", TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, this.$$$getFont$$$(null, -1, -1, panel3.getFont())));
|
||||
final JLabel label7 = new JLabel();
|
||||
label7.setText("$20000");
|
||||
panel3.add(label7, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
veinteMilField = new JTextField();
|
||||
veinteMilField.setText("0");
|
||||
veinteMilField = new NumberFormatedTextField();
|
||||
veinteMilField.setText("");
|
||||
panel3.add(veinteMilField, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
final JLabel label8 = new JLabel();
|
||||
label8.setText("$10000");
|
||||
panel3.add(label8, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
diezMilField = new JTextField();
|
||||
diezMilField.setText("0");
|
||||
panel3.add(diezMilField, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
cincoMilField = new JTextField();
|
||||
cincoMilField.setText("0");
|
||||
panel3.add(cincoMilField, new GridConstraints(4, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
panel3.add(label8, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
diezMilField = new NumberFormatedTextField();
|
||||
diezMilField.setText("");
|
||||
panel3.add(diezMilField, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
cincoMilField = new NumberFormatedTextField();
|
||||
cincoMilField.setText("");
|
||||
panel3.add(cincoMilField, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
final JLabel label9 = new JLabel();
|
||||
label9.setText("$5000");
|
||||
panel3.add(label9, new GridConstraints(4, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
panel3.add(label9, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
final JLabel label10 = new JLabel();
|
||||
label10.setText("$2000");
|
||||
panel3.add(label10, new GridConstraints(6, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
dosMilField = new JTextField();
|
||||
dosMilField.setText("0");
|
||||
panel3.add(dosMilField, new GridConstraints(6, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
milField = new JTextField();
|
||||
milField.setText("0");
|
||||
panel3.add(milField, new GridConstraints(8, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
panel3.add(label10, new GridConstraints(3, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
dosMilField = new NumberFormatedTextField();
|
||||
dosMilField.setText("");
|
||||
panel3.add(dosMilField, new GridConstraints(3, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
milField = new NumberFormatedTextField();
|
||||
milField.setText("");
|
||||
panel3.add(milField, new GridConstraints(4, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
final JLabel label11 = new JLabel();
|
||||
label11.setText("$1000");
|
||||
panel3.add(label11, new GridConstraints(8, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
panel3.add(label11, new GridConstraints(4, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
final JLabel label12 = new JLabel();
|
||||
label12.setText("$500");
|
||||
panel3.add(label12, new GridConstraints(10, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
quinientosField = new JTextField();
|
||||
quinientosField.setText("0");
|
||||
panel3.add(quinientosField, new GridConstraints(10, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
panel3.add(label12, new GridConstraints(5, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
quinientosField = new NumberFormatedTextField();
|
||||
quinientosField.setText("");
|
||||
panel3.add(quinientosField, new GridConstraints(5, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
final JLabel label13 = new JLabel();
|
||||
label13.setText("$100");
|
||||
panel3.add(label13, new GridConstraints(12, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
cienField = new JTextField();
|
||||
cienField.setText("0");
|
||||
panel3.add(cienField, new GridConstraints(12, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
panel3.add(label13, new GridConstraints(6, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
cienField = new NumberFormatedTextField();
|
||||
cienField.setText("");
|
||||
panel3.add(cienField, new GridConstraints(6, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
final JLabel label14 = new JLabel();
|
||||
label14.setText("$50");
|
||||
panel3.add(label14, new GridConstraints(14, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
cincuentaField = new JTextField();
|
||||
cincuentaField.setText("0");
|
||||
panel3.add(cincuentaField, new GridConstraints(14, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
panel3.add(label14, new GridConstraints(7, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
cincuentaField = new NumberFormatedTextField();
|
||||
cincuentaField.setText("");
|
||||
panel3.add(cincuentaField, new GridConstraints(7, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
final JLabel label15 = new JLabel();
|
||||
label15.setText("$10");
|
||||
panel3.add(label15, new GridConstraints(16, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
diezField = new JTextField();
|
||||
diezField.setText("0");
|
||||
panel3.add(diezField, new GridConstraints(16, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
panel3.add(label15, new GridConstraints(8, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
diezField = new NumberFormatedTextField();
|
||||
diezField.setText("");
|
||||
panel3.add(diezField, new GridConstraints(8, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
guardarEfectivoButton = new JButton();
|
||||
guardarEfectivoButton.setText("Guardar");
|
||||
panel3.add(guardarEfectivoButton, new GridConstraints(18, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
errorVeinteMil = new JLabel();
|
||||
errorVeinteMil.setForeground(new Color(-65536));
|
||||
errorVeinteMil.setText("Error");
|
||||
errorVeinteMil.setVisible(false);
|
||||
panel3.add(errorVeinteMil, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
errorDiezMil = new JLabel();
|
||||
errorDiezMil.setForeground(new Color(-65536));
|
||||
errorDiezMil.setText("Error");
|
||||
errorDiezMil.setVisible(false);
|
||||
panel3.add(errorDiezMil, new GridConstraints(3, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
errorCincoMil = new JLabel();
|
||||
errorCincoMil.setForeground(new Color(-65536));
|
||||
errorCincoMil.setText("Error");
|
||||
errorCincoMil.setVisible(false);
|
||||
panel3.add(errorCincoMil, new GridConstraints(5, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
errorDosMil = new JLabel();
|
||||
errorDosMil.setForeground(new Color(-65536));
|
||||
errorDosMil.setText("Error");
|
||||
errorDosMil.setVisible(false);
|
||||
panel3.add(errorDosMil, new GridConstraints(7, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
errorMil = new JLabel();
|
||||
errorMil.setForeground(new Color(-65536));
|
||||
errorMil.setText("Error");
|
||||
errorMil.setVisible(false);
|
||||
panel3.add(errorMil, new GridConstraints(9, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
errorQuinientos = new JLabel();
|
||||
errorQuinientos.setForeground(new Color(-65536));
|
||||
errorQuinientos.setText("Error");
|
||||
errorQuinientos.setVisible(false);
|
||||
panel3.add(errorQuinientos, new GridConstraints(11, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
errorCien = new JLabel();
|
||||
errorCien.setForeground(new Color(-65536));
|
||||
errorCien.setText("Error");
|
||||
errorCien.setVisible(false);
|
||||
panel3.add(errorCien, new GridConstraints(13, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
errorCincuenta = new JLabel();
|
||||
errorCincuenta.setForeground(new Color(-65536));
|
||||
errorCincuenta.setText("Error");
|
||||
errorCincuenta.setVisible(false);
|
||||
panel3.add(errorCincuenta, new GridConstraints(15, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
errorDiez = new JLabel();
|
||||
errorDiez.setForeground(new Color(-65536));
|
||||
errorDiez.setText("Error");
|
||||
errorDiez.setVisible(false);
|
||||
panel3.add(errorDiez, new GridConstraints(17, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
panel3.add(guardarEfectivoButton, new GridConstraints(9, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||
final JPanel panel4 = new JPanel();
|
||||
panel4.setLayout(new GridLayoutManager(5, 2, new Insets(10, 10, 10, 10), -1, -1));
|
||||
panel2.add(panel4, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||
@@ -400,7 +311,7 @@ public class ArqueoView {
|
||||
errorTarjetas.setVisible(false);
|
||||
panel4.add(errorTarjetas, new GridConstraints(3, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||
final Spacer spacer1 = new Spacer();
|
||||
contentPanel.add(spacer1, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_VERTICAL, 1, GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
||||
contentPanel.add(spacer1, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_VERTICAL, 1, GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user