Example usage for java.awt BorderLayout LINE_END

List of usage examples for java.awt BorderLayout LINE_END

Introduction

In this page you can find the example usage for java.awt BorderLayout LINE_END.

Prototype

String LINE_END

To view the source code for java.awt BorderLayout LINE_END.

Click Source Link

Document

The component goes at the end of the line direction for the layout.

Usage

From source file:com.xilinx.kintex7.MainScreen.java

private JPanel dialChart(int w) {
    JPanel panel = new JPanel();
    JPanel panel1 = new JPanel(new BorderLayout());

    panel.setLayout(new BorderLayout());

    pchart = new PowerChart("Power (in Watt)", panel.getBackground());
    dialPanel = pchart.getChart("");
    dialPanel.setPreferredSize(new Dimension(300, 100));

    tplot = new ThermoPlot();
    tplotPanel = tplot.getChart();//from  w  ww.j  a va  2  s.  c o  m
    tplotPanel.setPreferredSize(new Dimension(200, 100));

    panel1.add(dialPanel, BorderLayout.CENTER);
    panel1.add(tplotPanel, BorderLayout.LINE_END);

    panel.add(panel1, BorderLayout.CENTER);

    return panel;
}

From source file:wjhk.jupload2.policies.DefaultUploadPolicy.java

/**
 * @see wjhk.jupload2.policies.UploadPolicy#createProgressPanel(JProgressBar,
 *      JProgressBar, JButton, JButton, JUploadPanel)
 */// w  ww . ja  va  2s .  c  o  m
public JPanel createProgressPanel(JProgressBar preparationProgressBar, JProgressBar uploadProgressBar,
        JButton uploadButton, JButton stopButton, JUploadPanel mainPanel) {

    // There may be two progress bar: one for preparation progress of files
    // (preparation before upload) and one to follow the actual upload.
    JPanel jProgressBarPanel = new JPanel();
    jProgressBarPanel.setLayout(new BorderLayout(10, 1));
    jProgressBarPanel.add(preparationProgressBar, BorderLayout.NORTH);
    jProgressBarPanel.add(uploadProgressBar, BorderLayout.SOUTH);

    JPanel jProgressPanel = new JPanel();
    jProgressPanel.setLayout(new BorderLayout(10, 0));
    jProgressPanel.setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10));
    jProgressPanel.add(uploadButton, BorderLayout.LINE_START);
    jProgressPanel.add(jProgressBarPanel, BorderLayout.CENTER);
    jProgressPanel.add(stopButton, BorderLayout.LINE_END);
    return jProgressPanel;
}

From source file:com.xilinx.virtex7.MainScreen.java

private JPanel dialChart(int w) {
    JPanel panel = new JPanel();
    JPanel panel1 = new JPanel(new BorderLayout());

    panel.setLayout(new BorderLayout());

    pchart = new PowerChart("Power (W)", panel.getBackground());
    dialPanel = pchart.getChart("");
    dialPanel.setPreferredSize(new Dimension(300, 100));

    tplot = new ThermoPlot();
    tplotPanel = tplot.getChart();//w  w  w. j  a va2  s  .  co m
    tplotPanel.setPreferredSize(new Dimension(200, 100));

    panel1.add(dialPanel, BorderLayout.CENTER);
    panel1.add(tplotPanel, BorderLayout.LINE_END);

    panel.add(panel1, BorderLayout.CENTER);

    return panel;
}

From source file:de.tor.tribes.ui.windows.DSWorkbenchMainFrame.java

/**
 * This method is called from within the constructor to initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is always
 * regenerated by the Form Editor.//www  .ja  va2  s  . c  o  m
 */
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    jExportDialog = new javax.swing.JDialog();
    jScrollPane1 = new javax.swing.JScrollPane();
    jAttackExportTable = new javax.swing.JTable();
    jExportButton = new javax.swing.JButton();
    jCancelExportButton = new javax.swing.JButton();
    jScrollPane4 = new javax.swing.JScrollPane();
    jMarkerSetExportTable = new javax.swing.JTable();
    jScrollPane5 = new javax.swing.JScrollPane();
    jReportSetExportTable = new javax.swing.JTable();
    jScrollPane6 = new javax.swing.JScrollPane();
    jNoteSetExportTable = new javax.swing.JTable();
    jScrollPane7 = new javax.swing.JScrollPane();
    jTroopSetExportTable = new javax.swing.JTable();
    jPanel5 = new javax.swing.JPanel();
    jExportTags = new javax.swing.JCheckBox();
    jExportForms = new javax.swing.JCheckBox();
    jExportVillageInformation = new javax.swing.JCheckBox();
    jExportStdAttacks = new javax.swing.JCheckBox();
    jExportFarminfos = new javax.swing.JCheckBox();
    jExportSplits = new javax.swing.JCheckBox();
    jExportSOS = new javax.swing.JCheckBox();
    jAddROIDialog = new javax.swing.JDialog();
    jLabel7 = new javax.swing.JLabel();
    jROIRegion = new javax.swing.JTextField();
    jLabel8 = new javax.swing.JLabel();
    jROITextField = new javax.swing.JTextField();
    jLabel9 = new javax.swing.JLabel();
    jROIPosition = new javax.swing.JComboBox();
    jAddNewROIButton = new javax.swing.JButton();
    jButton5 = new javax.swing.JButton();
    jCustomPanel = new javax.swing.JPanel();
    jNavigationPanel = new javax.swing.JPanel();
    jMoveE = new javax.swing.JButton();
    jMoveNE = new javax.swing.JButton();
    jMoveN = new javax.swing.JButton();
    jMoveNW = new javax.swing.JButton();
    jMoveW = new javax.swing.JButton();
    jMoveSW = new javax.swing.JButton();
    jMoveS = new javax.swing.JButton();
    jMoveSE = new javax.swing.JButton();
    jCenterX = new javax.swing.JTextField();
    jLabel1 = new javax.swing.JLabel();
    jLabel2 = new javax.swing.JLabel();
    jCenterY = new javax.swing.JTextField();
    jRefreshButton = new javax.swing.JButton();
    jMoveE1 = new javax.swing.JButton();
    jZoomInButton = new javax.swing.JButton();
    jZoomOutButton = new javax.swing.JButton();
    jCenterCoordinateIngame = new javax.swing.JButton();
    jMapPanel = new javax.swing.JPanel();
    jShowMapPopup = new javax.swing.JCheckBox();
    jLabel5 = new javax.swing.JLabel();
    jLabel12 = new javax.swing.JLabel();
    jGraphicPacks = new javax.swing.JComboBox();
    jHighlightTribeVillages = new javax.swing.JCheckBox();
    jShowRuler = new javax.swing.JCheckBox();
    jHourField = new javax.swing.JTextField();
    jMinuteField = new javax.swing.JTextField();
    jLabel11 = new javax.swing.JLabel();
    jLabel13 = new javax.swing.JLabel();
    jShowMouseOverInfo = new javax.swing.JCheckBox();
    jIncludeSupport = new javax.swing.JCheckBox();
    jLabel3 = new javax.swing.JLabel();
    jDisplayWatchtower = new javax.swing.JCheckBox();
    jDisplayChurch = new javax.swing.JCheckBox();
    jROIPanel = new javax.swing.JPanel();
    jLabel6 = new javax.swing.JLabel();
    jROIBox = new javax.swing.JComboBox();
    jRemoveROIButton = new javax.swing.JButton();
    jAddROIButton = new javax.swing.JButton();
    jInformationPanel = new javax.swing.JPanel();
    jCurrentPlayerVillages = new javax.swing.JComboBox();
    jCurrentPlayer = new javax.swing.JLabel();
    jCenterIngameButton = new javax.swing.JButton();
    jOnlineLabel = new javax.swing.JLabel();
    jCurrentToolLabel = new javax.swing.JLabel();
    jButton1 = new javax.swing.JButton();
    jEnableClipboardWatchButton = new javax.swing.JButton();
    jXTipOfTheDay1 = new org.jdesktop.swingx.JXTipOfTheDay();
    jPanel4 = new javax.swing.JPanel();
    jStatusPanel = new javax.swing.JPanel();
    capabilityInfoPanel1 = new de.tor.tribes.ui.components.CapabilityInfoPanel();
    infoPanel = new org.jdesktop.swingx.JXCollapsiblePane();
    jXLabel1 = new org.jdesktop.swingx.JXLabel();
    jMapPanelHolder = new javax.swing.JPanel();
    jMinimapPanel = new javax.swing.JPanel();
    jSettingsScrollPane = new javax.swing.JScrollPane();

    jExportDialog.setTitle("Export");
    jExportDialog.setMinimumSize(new java.awt.Dimension(560, 500));
    jExportDialog.setPreferredSize(new java.awt.Dimension(560, 500));
    jExportDialog.setResizable(false);
    jExportDialog.getContentPane().setLayout(new java.awt.GridBagLayout());

    jScrollPane1.setMinimumSize(new java.awt.Dimension(260, 100));
    jScrollPane1.setPreferredSize(new java.awt.Dimension(260, 100));

    jAttackExportTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Angriffplan", "Exportieren" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.Boolean.class };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }
    });
    jAttackExportTable.setOpaque(false);
    jScrollPane1.setViewportView(jAttackExportTable);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jExportDialog.getContentPane().add(jScrollPane1, gridBagConstraints);

    jExportButton.setText("Exportieren");
    jExportButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            fireExportEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LAST_LINE_END;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jExportDialog.getContentPane().add(jExportButton, gridBagConstraints);

    jCancelExportButton.setText("Abbrechen");
    jCancelExportButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            fireExportEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LAST_LINE_START;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jExportDialog.getContentPane().add(jCancelExportButton, gridBagConstraints);

    jScrollPane4.setMinimumSize(new java.awt.Dimension(260, 100));
    jScrollPane4.setPreferredSize(new java.awt.Dimension(260, 100));

    jMarkerSetExportTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Markierungsset", "Exportieren" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.Boolean.class };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }
    });
    jMarkerSetExportTable.setOpaque(false);
    jScrollPane4.setViewportView(jMarkerSetExportTable);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jExportDialog.getContentPane().add(jScrollPane4, gridBagConstraints);

    jScrollPane5.setMinimumSize(new java.awt.Dimension(260, 100));
    jScrollPane5.setPreferredSize(new java.awt.Dimension(260, 100));

    jReportSetExportTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Berichtsset", "Exportieren" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.Boolean.class };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }
    });
    jReportSetExportTable.setOpaque(false);
    jScrollPane5.setViewportView(jReportSetExportTable);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jExportDialog.getContentPane().add(jScrollPane5, gridBagConstraints);

    jScrollPane6.setMinimumSize(new java.awt.Dimension(260, 100));
    jScrollPane6.setPreferredSize(new java.awt.Dimension(260, 100));

    jNoteSetExportTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Notizset", "Exportieren" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.Boolean.class };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }
    });
    jNoteSetExportTable.setOpaque(false);
    jScrollPane6.setViewportView(jNoteSetExportTable);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jExportDialog.getContentPane().add(jScrollPane6, gridBagConstraints);

    jScrollPane7.setMinimumSize(new java.awt.Dimension(260, 100));
    jScrollPane7.setPreferredSize(new java.awt.Dimension(260, 100));

    jTroopSetExportTable.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Truppeninformationen", "Exportieren" }) {
        Class[] types = new Class[] { java.lang.String.class, java.lang.Boolean.class };

        public Class getColumnClass(int columnIndex) {
            return types[columnIndex];
        }
    });
    jTroopSetExportTable.setOpaque(false);
    jScrollPane7.setViewportView(jTroopSetExportTable);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jExportDialog.getContentPane().add(jScrollPane7, gridBagConstraints);

    jPanel5.setPreferredSize(new java.awt.Dimension(260, 100));
    jPanel5.setLayout(new java.awt.GridBagLayout());

    jExportTags.setText("Gruppen");
    jExportTags.setMaximumSize(new java.awt.Dimension(2147483647, 2147483647));
    jExportTags.setMinimumSize(new java.awt.Dimension(130, 24));
    jExportTags.setPreferredSize(new java.awt.Dimension(130, 24));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    jPanel5.add(jExportTags, gridBagConstraints);

    jExportForms.setText("Zeichnungen");
    jExportForms.setMaximumSize(new java.awt.Dimension(2147483647, 2147483647));
    jExportForms.setMinimumSize(new java.awt.Dimension(130, 24));
    jExportForms.setPreferredSize(new java.awt.Dimension(130, 24));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    jPanel5.add(jExportForms, gridBagConstraints);

    jExportVillageInformation.setText("Dorfinfos");
    jExportVillageInformation.setToolTipText("Enthlt Gebudeinfos (z.B. Kichrche, Wachturm)");
    jExportVillageInformation.setMaximumSize(new java.awt.Dimension(2147483647, 2147483647));
    jExportVillageInformation.setMinimumSize(new java.awt.Dimension(130, 24));
    jExportVillageInformation.setPreferredSize(new java.awt.Dimension(130, 24));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    jPanel5.add(jExportVillageInformation, gridBagConstraints);

    jExportStdAttacks.setText("Standardangriffe");
    jExportStdAttacks.setMaximumSize(new java.awt.Dimension(2147483647, 2147483647));
    jExportStdAttacks.setMinimumSize(new java.awt.Dimension(130, 24));
    jExportStdAttacks.setPreferredSize(new java.awt.Dimension(130, 24));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    jPanel5.add(jExportStdAttacks, gridBagConstraints);

    jExportFarminfos.setText("Farminfos");
    jExportFarminfos.setMaximumSize(new java.awt.Dimension(2147483647, 2147483647));
    jExportFarminfos.setMinimumSize(new java.awt.Dimension(130, 24));
    jExportFarminfos.setPreferredSize(new java.awt.Dimension(130, 24));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    jPanel5.add(jExportFarminfos, gridBagConstraints);

    jExportSplits.setText("Split Sets");
    jExportSplits.setToolTipText("Enthlt Gebudeinfos (z.B. Kichrche, Wachturm)");
    jExportSplits.setMaximumSize(new java.awt.Dimension(2147483647, 2147483647));
    jExportSplits.setMinimumSize(new java.awt.Dimension(130, 24));
    jExportSplits.setPreferredSize(new java.awt.Dimension(130, 24));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    jPanel5.add(jExportSplits, gridBagConstraints);

    jExportSOS.setText("SOS Requests");
    jExportSOS.setMaximumSize(new java.awt.Dimension(2147483647, 2147483647));
    jExportSOS.setMinimumSize(new java.awt.Dimension(130, 24));
    jExportSOS.setPreferredSize(new java.awt.Dimension(130, 24));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    jPanel5.add(jExportSOS, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jExportDialog.getContentPane().add(jPanel5, gridBagConstraints);

    jAddROIDialog.setTitle("ROI hinzufgen");

    jLabel7.setText("Zentrum");

    jROIRegion.setEnabled(false);
    jROIRegion.setMaximumSize(new java.awt.Dimension(120, 20));
    jROIRegion.setMinimumSize(new java.awt.Dimension(120, 20));
    jROIRegion.setPreferredSize(new java.awt.Dimension(120, 20));

    jLabel8.setText("Bezeichnung");

    jROITextField.setToolTipText("Eindeutige Bezeichnung zur Kennzeichnung der ROI");

    jLabel9.setText("Position");

    jROIPosition.setModel(new javax.swing.DefaultComboBoxModel(
            new String[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "Ende" }));
    jROIPosition.setToolTipText("Position der ROI (Positionen 1-10 knnen per Shortcut gewhlt werden)");

    jAddNewROIButton.setText("Hinzufgen");
    jAddNewROIButton.setToolTipText("ROI hinzufgen");
    jAddNewROIButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireAddROIDoneEvent(evt);
        }
    });

    jButton5.setText("Abbrechen");
    jButton5.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireAddROIDoneEvent(evt);
        }
    });

    javax.swing.GroupLayout jAddROIDialogLayout = new javax.swing.GroupLayout(jAddROIDialog.getContentPane());
    jAddROIDialog.getContentPane().setLayout(jAddROIDialogLayout);
    jAddROIDialogLayout.setHorizontalGroup(jAddROIDialogLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jAddROIDialogLayout.createSequentialGroup().addContainerGap().addGroup(jAddROIDialogLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jAddROIDialogLayout.createSequentialGroup().addComponent(jButton5)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jAddNewROIButton))
                    .addGroup(jAddROIDialogLayout.createSequentialGroup().addGroup(jAddROIDialogLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jAddROIDialogLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(jLabel8, javax.swing.GroupLayout.Alignment.TRAILING,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(jLabel7, javax.swing.GroupLayout.Alignment.TRAILING,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addComponent(jLabel9))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(jAddROIDialogLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(jROIRegion, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jROITextField, javax.swing.GroupLayout.DEFAULT_SIZE, 227,
                                            Short.MAX_VALUE)
                                    .addComponent(jROIPosition, 0, javax.swing.GroupLayout.DEFAULT_SIZE,
                                            Short.MAX_VALUE))))
                    .addContainerGap(16, Short.MAX_VALUE)));
    jAddROIDialogLayout.setVerticalGroup(jAddROIDialogLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jAddROIDialogLayout.createSequentialGroup().addContainerGap().addGroup(jAddROIDialogLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE).addComponent(jLabel7)
                    .addComponent(jROIRegion, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(
                            jAddROIDialogLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabel8)
                                    .addComponent(jROITextField, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(
                            jAddROIDialogLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabel9)
                                    .addComponent(jROIPosition, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(
                            jAddROIDialogLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jAddNewROIButton).addComponent(jButton5))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    javax.swing.GroupLayout jCustomPanelLayout = new javax.swing.GroupLayout(jCustomPanel);
    jCustomPanel.setLayout(jCustomPanelLayout);
    jCustomPanelLayout.setHorizontalGroup(jCustomPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 572, Short.MAX_VALUE));
    jCustomPanelLayout.setVerticalGroup(jCustomPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 501, Short.MAX_VALUE));

    jNavigationPanel.setBackground(new java.awt.Color(239, 235, 223));
    jNavigationPanel.setMinimumSize(new java.awt.Dimension(236, 95));

    jMoveE.setBackground(new java.awt.Color(239, 235, 223));
    jMoveE.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/map_e.png"))); // NOI18N
    jMoveE.setMaximumSize(new java.awt.Dimension(21, 21));
    jMoveE.setMinimumSize(new java.awt.Dimension(21, 21));
    jMoveE.setPreferredSize(new java.awt.Dimension(21, 21));
    jMoveE.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireMoveMapEvent(evt);
        }
    });

    jMoveNE.setBackground(new java.awt.Color(239, 235, 223));
    jMoveNE.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/map_ne.png"))); // NOI18N
    jMoveNE.setMaximumSize(new java.awt.Dimension(21, 21));
    jMoveNE.setMinimumSize(new java.awt.Dimension(21, 21));
    jMoveNE.setPreferredSize(new java.awt.Dimension(21, 21));
    jMoveNE.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireMoveMapEvent(evt);
        }
    });

    jMoveN.setBackground(new java.awt.Color(239, 235, 223));
    jMoveN.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/map_n.png"))); // NOI18N
    jMoveN.setMaximumSize(new java.awt.Dimension(21, 21));
    jMoveN.setMinimumSize(new java.awt.Dimension(21, 21));
    jMoveN.setPreferredSize(new java.awt.Dimension(21, 21));
    jMoveN.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireMoveMapEvent(evt);
        }
    });

    jMoveNW.setBackground(new java.awt.Color(239, 235, 223));
    jMoveNW.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/map_nw.png"))); // NOI18N
    jMoveNW.setMaximumSize(new java.awt.Dimension(21, 21));
    jMoveNW.setMinimumSize(new java.awt.Dimension(21, 21));
    jMoveNW.setPreferredSize(new java.awt.Dimension(21, 21));
    jMoveNW.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireMoveMapEvent(evt);
        }
    });

    jMoveW.setBackground(new java.awt.Color(239, 235, 223));
    jMoveW.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/map_w.png"))); // NOI18N
    jMoveW.setMaximumSize(new java.awt.Dimension(21, 21));
    jMoveW.setMinimumSize(new java.awt.Dimension(21, 21));
    jMoveW.setPreferredSize(new java.awt.Dimension(21, 21));
    jMoveW.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireMoveMapEvent(evt);
        }
    });

    jMoveSW.setBackground(new java.awt.Color(239, 235, 223));
    jMoveSW.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/map_sw.png"))); // NOI18N
    jMoveSW.setMaximumSize(new java.awt.Dimension(21, 21));
    jMoveSW.setMinimumSize(new java.awt.Dimension(21, 21));
    jMoveSW.setPreferredSize(new java.awt.Dimension(21, 21));
    jMoveSW.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireMoveMapEvent(evt);
        }
    });

    jMoveS.setBackground(new java.awt.Color(239, 235, 223));
    jMoveS.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/map_s.png"))); // NOI18N
    jMoveS.setMaximumSize(new java.awt.Dimension(21, 21));
    jMoveS.setMinimumSize(new java.awt.Dimension(21, 21));
    jMoveS.setPreferredSize(new java.awt.Dimension(21, 21));
    jMoveS.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireMoveMapEvent(evt);
        }
    });

    jMoveSE.setBackground(new java.awt.Color(239, 235, 223));
    jMoveSE.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/map_se.png"))); // NOI18N
    jMoveSE.setMaximumSize(new java.awt.Dimension(21, 21));
    jMoveSE.setMinimumSize(new java.awt.Dimension(21, 21));
    jMoveSE.setPreferredSize(new java.awt.Dimension(21, 21));
    jMoveSE.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireMoveMapEvent(evt);
        }
    });

    jCenterX.setText("500");
    jCenterX.setMaximumSize(new java.awt.Dimension(40, 25));
    jCenterX.setMinimumSize(new java.awt.Dimension(40, 25));
    jCenterX.setPreferredSize(new java.awt.Dimension(40, 25));
    jCenterX.addFocusListener(new java.awt.event.FocusAdapter() {
        public void focusLost(java.awt.event.FocusEvent evt) {
            fireCheckForVillagePositionEvent(evt);
        }
    });

    jLabel1.setText("X");

    jLabel2.setText("Y");

    jCenterY.setText("500");
    jCenterY.setMaximumSize(new java.awt.Dimension(40, 25));
    jCenterY.setMinimumSize(new java.awt.Dimension(40, 25));
    jCenterY.setPreferredSize(new java.awt.Dimension(40, 25));

    jRefreshButton.setBackground(new java.awt.Color(239, 235, 223));
    jRefreshButton.setToolTipText("Position aktualisieren");
    jRefreshButton.setMaximumSize(new java.awt.Dimension(30, 30));
    jRefreshButton.setMinimumSize(new java.awt.Dimension(30, 30));
    jRefreshButton.setPreferredSize(new java.awt.Dimension(30, 30));
    jRefreshButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireReloadMapKoordinatesEvent(evt);
        }
    });

    jMoveE1.setBackground(new java.awt.Color(239, 235, 223));
    jMoveE1.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));
    jMoveE1.setEnabled(false);
    jMoveE1.setMaximumSize(new java.awt.Dimension(21, 21));
    jMoveE1.setMinimumSize(new java.awt.Dimension(21, 21));
    jMoveE1.setPreferredSize(new java.awt.Dimension(21, 21));

    jZoomInButton.setBackground(new java.awt.Color(239, 235, 223));
    jZoomInButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/zoom_out.png"))); // NOI18N
    jZoomInButton.setMaximumSize(new java.awt.Dimension(30, 30));
    jZoomInButton.setMinimumSize(new java.awt.Dimension(30, 30));
    jZoomInButton.setPreferredSize(new java.awt.Dimension(30, 30));
    jZoomInButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireZoomEvent(evt);
        }
    });

    jZoomOutButton.setBackground(new java.awt.Color(239, 235, 223));
    jZoomOutButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/zoom_in.png"))); // NOI18N
    jZoomOutButton.setMaximumSize(new java.awt.Dimension(30, 30));
    jZoomOutButton.setMinimumSize(new java.awt.Dimension(30, 30));
    jZoomOutButton.setPreferredSize(new java.awt.Dimension(30, 30));
    jZoomOutButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireZoomEvent(evt);
        }
    });

    jCenterCoordinateIngame.setBackground(new java.awt.Color(239, 235, 223));
    jCenterCoordinateIngame.setToolTipText("Zentrieren (InGame)");
    jCenterCoordinateIngame.setMaximumSize(new java.awt.Dimension(30, 30));
    jCenterCoordinateIngame.setMinimumSize(new java.awt.Dimension(30, 30));
    jCenterCoordinateIngame.setPreferredSize(new java.awt.Dimension(30, 30));
    jCenterCoordinateIngame.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireCenterCurrentPosInGameEvent(evt);
        }
    });

    javax.swing.GroupLayout jNavigationPanelLayout = new javax.swing.GroupLayout(jNavigationPanel);
    jNavigationPanel.setLayout(jNavigationPanelLayout);
    jNavigationPanelLayout.setHorizontalGroup(jNavigationPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jNavigationPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(jNavigationPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jNavigationPanelLayout.createSequentialGroup()
                                    .addGroup(jNavigationPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addGroup(jNavigationPanelLayout.createSequentialGroup()
                                                    .addComponent(jMoveNW,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE,
                                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                            javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                    .addComponent(jMoveN,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE,
                                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addGroup(jNavigationPanelLayout.createSequentialGroup()
                                                    .addComponent(jMoveW,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE,
                                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                                    .addPreferredGap(
                                                            javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                    .addComponent(jMoveE1,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE,
                                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                                            javax.swing.GroupLayout.PREFERRED_SIZE)))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(jNavigationPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jMoveNE, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jMoveE, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(jNavigationPanelLayout.createSequentialGroup()
                                    .addComponent(jMoveSW, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jMoveS, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jMoveSE, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jNavigationPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jZoomInButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jZoomOutButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(15, 15, 15)
                    .addGroup(jNavigationPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jLabel2, javax.swing.GroupLayout.Alignment.TRAILING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    Short.MAX_VALUE)
                            .addComponent(jLabel1, javax.swing.GroupLayout.Alignment.TRAILING))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jNavigationPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jCenterX, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jCenterY, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(jNavigationPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRefreshButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jCenterCoordinateIngame, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap()));
    jNavigationPanelLayout.setVerticalGroup(jNavigationPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jNavigationPanelLayout.createSequentialGroup().addContainerGap()
                    .addGroup(jNavigationPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jNavigationPanelLayout.createSequentialGroup()
                                    .addGroup(jNavigationPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(jMoveNE, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jMoveN, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jMoveNW, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGap(4, 4, 4)
                                    .addGroup(jNavigationPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(jMoveE, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jMoveW, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jMoveE1, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(jNavigationPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(jMoveSW, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jMoveS, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jMoveSE, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(jNavigationPanelLayout.createSequentialGroup()
                                    .addGroup(jNavigationPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(jCenterX, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel1))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(jNavigationPanelLayout
                                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(jLabel2).addComponent(jCenterY,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(jNavigationPanelLayout
                                    .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                    .addGroup(jNavigationPanelLayout.createSequentialGroup()
                                            .addComponent(jRefreshButton,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(jCenterCoordinateIngame,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGap(5, 5, 5))
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jNavigationPanelLayout
                                            .createSequentialGroup()
                                            .addComponent(jZoomInButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addPreferredGap(
                                                    javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                            .addComponent(jZoomOutButton,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE,
                                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                                    javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    jMapPanel.setBackground(new java.awt.Color(239, 235, 223));
    jMapPanel.setMinimumSize(new java.awt.Dimension(193, 250));
    jMapPanel.setPreferredSize(new java.awt.Dimension(193, 250));
    jMapPanel.setLayout(new java.awt.GridBagLayout());

    jShowMapPopup.setText("Kartenpopup anzeigen");
    jShowMapPopup.setToolTipText("Zeigt Informationen ber das Dorf unter dem Mauszeiger an");
    jShowMapPopup.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jShowMapPopup.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            fireShowMapPopupChangedEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jShowMapPopup, gridBagConstraints);

    jLabel5.setText("Laufzeitradius");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jLabel5, gridBagConstraints);

    jLabel12.setText("Grafikpaket");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jLabel12, gridBagConstraints);

    jGraphicPacks.setMaximumSize(new java.awt.Dimension(28, 20));
    jGraphicPacks.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            fireGraphicPackChangedEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jGraphicPacks, gridBagConstraints);

    jHighlightTribeVillages.setText("Spielerdrfer hervorheben");
    jHighlightTribeVillages.setToolTipText(
            "Markiert im Kartenausschnitt alle Drfer des Spielers, dessen Dorf unter dem Mauszeiger liegt");
    jHighlightTribeVillages.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jHighlightTribeVillages.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            fireHighlightTribeVillagesChangedEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.gridwidth = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jHighlightTribeVillages, gridBagConstraints);

    jShowRuler.setText("Lineal anzeigen");
    jShowRuler.setToolTipText("Zeichnet ein Koordinatenlineal am Kartenrand");
    jShowRuler.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jShowRuler.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            fireShowRulerChangedEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jShowRuler, gridBagConstraints);

    jHourField.setHorizontalAlignment(javax.swing.JTextField.CENTER);
    jHourField.setText("1");
    jHourField.setMaximumSize(new java.awt.Dimension(24, 25));
    jHourField.setMinimumSize(new java.awt.Dimension(24, 25));
    jHourField.setPreferredSize(new java.awt.Dimension(24, 25));
    jHourField.addCaretListener(new javax.swing.event.CaretListener() {
        public void caretUpdate(javax.swing.event.CaretEvent evt) {
            fireRadarValueChangedEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jHourField, gridBagConstraints);

    jMinuteField.setHorizontalAlignment(javax.swing.JTextField.CENTER);
    jMinuteField.setText("0");
    jMinuteField.setMaximumSize(new java.awt.Dimension(24, 25));
    jMinuteField.setMinimumSize(new java.awt.Dimension(24, 25));
    jMinuteField.setPreferredSize(new java.awt.Dimension(24, 25));
    jMinuteField.addCaretListener(new javax.swing.event.CaretListener() {
        public void caretUpdate(javax.swing.event.CaretEvent evt) {
            fireRadarValueChangedEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jMinuteField, gridBagConstraints);

    jLabel11.setText("h");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jLabel11, gridBagConstraints);

    jLabel13.setText("min");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 4;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.VERTICAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jLabel13, gridBagConstraints);

    jShowMouseOverInfo.setText("MouseOver Infos anzeigen");
    jShowMouseOverInfo.setToolTipText("Zeigt Informationen ber das Dorf unter dem Mauszeiger an");
    jShowMouseOverInfo.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jShowMouseOverInfo.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            fireShowMouseOverInfoEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jShowMouseOverInfo, gridBagConstraints);

    jIncludeSupport.setText("Untersttzungen einbeziehen");
    jIncludeSupport.setToolTipText(
            " Untersttzungen bei den MouseOver Infos und bei der Anzeige der Truppendichte mit einbeziehen");
    jIncludeSupport.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            fireShowHideSupportsEvent(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jIncludeSupport, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 9;
    gridBagConstraints.gridwidth = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weighty = 1.0;
    jMapPanel.add(jLabel3, gridBagConstraints);

    jDisplayWatchtower.setText("Wachturmradien Zeichnen");
    jDisplayWatchtower.setToolTipText("Wachturmradien Zeichnen");
    jDisplayWatchtower.setActionCommand("");
    jDisplayWatchtower.setAutoscrolls(true);
    jDisplayWatchtower.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            fireDisplayWatchtower(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.gridwidth = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jDisplayWatchtower, gridBagConstraints);

    jDisplayChurch.setText("Kirchenradien Zeichnen");
    jDisplayChurch.setToolTipText("Kirchenradien Zeichnen");
    jDisplayChurch.setActionCommand("Kirchenradien zeichnen");
    jDisplayChurch.addChangeListener(new javax.swing.event.ChangeListener() {
        public void stateChanged(javax.swing.event.ChangeEvent evt) {
            fireDisplayChurch(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.gridwidth = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
    jMapPanel.add(jDisplayChurch, gridBagConstraints);

    jROIPanel.setBackground(new java.awt.Color(239, 235, 223));
    jROIPanel.setMaximumSize(new java.awt.Dimension(293, 70));
    jROIPanel.setMinimumSize(new java.awt.Dimension(293, 70));
    jROIPanel.setPreferredSize(new java.awt.Dimension(293, 70));

    jLabel6.setText("ROIs");
    jLabel6.setMaximumSize(new java.awt.Dimension(40, 25));
    jLabel6.setMinimumSize(new java.awt.Dimension(40, 25));
    jLabel6.setPreferredSize(new java.awt.Dimension(40, 25));

    jROIBox.setMinimumSize(new java.awt.Dimension(23, 15));
    jROIBox.setPreferredSize(new java.awt.Dimension(28, 25));
    jROIBox.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            fireROISelectedEvent(evt);
        }
    });

    jRemoveROIButton.setBackground(new java.awt.Color(239, 235, 223));
    jRemoveROIButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/remove.gif"))); // NOI18N
    jRemoveROIButton.setMaximumSize(new java.awt.Dimension(23, 23));
    jRemoveROIButton.setMinimumSize(new java.awt.Dimension(23, 23));
    jRemoveROIButton.setPreferredSize(new java.awt.Dimension(23, 23));
    jRemoveROIButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireChangeROIEvent(evt);
        }
    });

    jAddROIButton.setBackground(new java.awt.Color(239, 235, 223));
    jAddROIButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/add.gif"))); // NOI18N
    jAddROIButton.setMaximumSize(new java.awt.Dimension(23, 23));
    jAddROIButton.setMinimumSize(new java.awt.Dimension(23, 23));
    jAddROIButton.setPreferredSize(new java.awt.Dimension(23, 23));
    jAddROIButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireChangeROIEvent(evt);
        }
    });

    javax.swing.GroupLayout jROIPanelLayout = new javax.swing.GroupLayout(jROIPanel);
    jROIPanel.setLayout(jROIPanelLayout);
    jROIPanelLayout.setHorizontalGroup(jROIPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jROIPanelLayout.createSequentialGroup().addContainerGap().addGroup(jROIPanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jROIPanelLayout.createSequentialGroup()
                            .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addComponent(jROIBox, 0, 223, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                            jROIPanelLayout.createSequentialGroup()
                                    .addComponent(jRemoveROIButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jAddROIButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap()));
    jROIPanelLayout.setVerticalGroup(jROIPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jROIPanelLayout.createSequentialGroup().addContainerGap().addGroup(jROIPanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jROIBox, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jROIPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRemoveROIButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jAddROIButton, javax.swing.GroupLayout.PREFERRED_SIZE, 23,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap()));

    jInformationPanel.setBackground(new java.awt.Color(239, 235, 223));

    jCurrentPlayerVillages.setToolTipText("Aktives Dorf als Ausgangspunkt fr InGame Aktionen");
    jCurrentPlayerVillages.addPopupMenuListener(new javax.swing.event.PopupMenuListener() {
        public void popupMenuWillBecomeVisible(javax.swing.event.PopupMenuEvent evt) {
        }

        public void popupMenuWillBecomeInvisible(javax.swing.event.PopupMenuEvent evt) {
            fireCurrentPlayerVillagePopupEvent(evt);
        }

        public void popupMenuCanceled(javax.swing.event.PopupMenuEvent evt) {
        }
    });

    jCurrentPlayer.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    jCurrentPlayer.setMaximumSize(new java.awt.Dimension(155, 14));
    jCurrentPlayer.setMinimumSize(new java.awt.Dimension(155, 14));
    jCurrentPlayer.setPreferredSize(new java.awt.Dimension(155, 14));

    jCenterIngameButton.setBackground(new java.awt.Color(239, 235, 223));
    jCenterIngameButton.setToolTipText("Zentrieren (InGame)");
    jCenterIngameButton.setMaximumSize(new java.awt.Dimension(30, 30));
    jCenterIngameButton.setMinimumSize(new java.awt.Dimension(30, 30));
    jCenterIngameButton.setPreferredSize(new java.awt.Dimension(30, 30));
    jCenterIngameButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireCenterVillageIngameEvent(evt);
        }
    });

    jOnlineLabel.setToolTipText("Online/Offline Modus");
    jOnlineLabel.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    jOnlineLabel.setMaximumSize(new java.awt.Dimension(30, 30));
    jOnlineLabel.setMinimumSize(new java.awt.Dimension(30, 30));
    jOnlineLabel.setPreferredSize(new java.awt.Dimension(30, 30));

    jCurrentToolLabel.setToolTipText("Momentan gewhltes Werkzeug");
    jCurrentToolLabel.setAlignmentY(0.0F);
    jCurrentToolLabel.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    jCurrentToolLabel.setFocusable(false);
    jCurrentToolLabel.setIconTextGap(0);
    jCurrentToolLabel.setMaximumSize(new java.awt.Dimension(30, 30));
    jCurrentToolLabel.setMinimumSize(new java.awt.Dimension(30, 30));
    jCurrentToolLabel.setPreferredSize(new java.awt.Dimension(30, 30));
    jCurrentToolLabel.setRequestFocusEnabled(false);

    jButton1.setBackground(new java.awt.Color(239, 235, 223));
    jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/ui/camera.png"))); // NOI18N
    jButton1.setToolTipText("Foto der Hauptkarte erstellen");
    jButton1.setMaximumSize(new java.awt.Dimension(30, 30));
    jButton1.setMinimumSize(new java.awt.Dimension(30, 30));
    jButton1.setPreferredSize(new java.awt.Dimension(30, 30));
    jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireCreateMapShotEvent(evt);
        }
    });

    jEnableClipboardWatchButton.setBackground(new java.awt.Color(239, 235, 223));
    jEnableClipboardWatchButton
            .setToolTipText("Suche nach Informationen in der Zwischenablage an-/ausschalten");
    jEnableClipboardWatchButton.setMaximumSize(new java.awt.Dimension(30, 30));
    jEnableClipboardWatchButton.setMinimumSize(new java.awt.Dimension(30, 30));
    jEnableClipboardWatchButton.setPreferredSize(new java.awt.Dimension(30, 30));
    jEnableClipboardWatchButton.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseClicked(java.awt.event.MouseEvent evt) {
            fireChangeClipboardWatchEvent(evt);
        }
    });

    javax.swing.GroupLayout jInformationPanelLayout = new javax.swing.GroupLayout(jInformationPanel);
    jInformationPanel.setLayout(jInformationPanelLayout);
    jInformationPanelLayout.setHorizontalGroup(jInformationPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jInformationPanelLayout
                    .createSequentialGroup().addContainerGap()
                    .addGroup(jInformationPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jCurrentPlayer, javax.swing.GroupLayout.Alignment.LEADING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, 227, Short.MAX_VALUE)
                            .addComponent(jCurrentPlayerVillages, javax.swing.GroupLayout.Alignment.LEADING, 0,
                                    227, Short.MAX_VALUE)
                            .addGroup(jInformationPanelLayout.createSequentialGroup()
                                    .addComponent(jCurrentToolLabel, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jOnlineLabel, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 63,
                                            Short.MAX_VALUE)
                                    .addComponent(jCenterIngameButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(4, 4, 4).addComponent(jEnableClipboardWatchButton,
                                            javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap()));
    jInformationPanelLayout.setVerticalGroup(jInformationPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jInformationPanelLayout.createSequentialGroup().addContainerGap()
                    .addComponent(jCurrentPlayer, javax.swing.GroupLayout.PREFERRED_SIZE, 20,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jCurrentPlayerVillages, javax.swing.GroupLayout.PREFERRED_SIZE, 22,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jInformationPanelLayout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jCenterIngameButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jCurrentToolLabel, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jEnableClipboardWatchButton, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jOnlineLabel, javax.swing.GroupLayout.PREFERRED_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setTitle("DS Workbench 0.92b");
    setBackground(new java.awt.Color(225, 213, 190));
    addComponentListener(new java.awt.event.ComponentAdapter() {
        public void componentResized(java.awt.event.ComponentEvent evt) {
            fireFrameResizedEvent(evt);
        }
    });
    addWindowListener(new java.awt.event.WindowAdapter() {
        public void windowClosing(java.awt.event.WindowEvent evt) {
            fireDSWorkbenchClosingEvent(evt);
        }
    });

    jStatusPanel.setMaximumSize(new java.awt.Dimension(32, 30));
    jStatusPanel.setLayout(new java.awt.BorderLayout());

    capabilityInfoPanel1.setDeletable(false);
    capabilityInfoPanel1.setPastable(false);
    capabilityInfoPanel1.setSearchable(false);
    jStatusPanel.add(capabilityInfoPanel1, java.awt.BorderLayout.WEST);

    infoPanel.setAnimated(false);
    infoPanel.setCollapsed(true);
    infoPanel.setDirection(org.jdesktop.swingx.JXCollapsiblePane.Direction.LEFT);
    infoPanel.setInheritAlpha(false);
    infoPanel.setMaximumSize(new java.awt.Dimension(2147483647, 30));

    jXLabel1.setText("jXLabel1");
    jXLabel1.addMouseListener(new java.awt.event.MouseAdapter() {
        public void mouseReleased(java.awt.event.MouseEvent evt) {
            fireHideNotificationEvent(evt);
        }
    });
    infoPanel.add(jXLabel1, java.awt.BorderLayout.CENTER);

    jStatusPanel.add(infoPanel, java.awt.BorderLayout.LINE_END);

    jMapPanelHolder.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(128, 64, 0), 2));
    jMapPanelHolder.setForeground(new java.awt.Color(240, 240, 240));
    jMapPanelHolder.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    jMapPanelHolder.setDoubleBuffered(false);
    jMapPanelHolder.setLayout(new java.awt.BorderLayout());

    jMinimapPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(128, 64, 0), 2));
    jMinimapPanel.setDoubleBuffered(false);
    jMinimapPanel.setLayout(new java.awt.BorderLayout());

    jSettingsScrollPane.setFocusTraversalPolicyProvider(true);

    javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
    jPanel4.setLayout(jPanel4Layout);
    jPanel4Layout.setHorizontalGroup(jPanel4Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jStatusPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 725,
                                    Short.MAX_VALUE)
                            .addComponent(jMapPanelHolder, javax.swing.GroupLayout.Alignment.TRAILING,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, 725, Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jSettingsScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 320,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jMinimapPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 320,
                                    javax.swing.GroupLayout.PREFERRED_SIZE))));
    jPanel4Layout.setVerticalGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
                    .addComponent(jMinimapPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 300,
                            javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(
                            jSettingsScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 406, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
                    .addComponent(jMapPanelHolder, javax.swing.GroupLayout.DEFAULT_SIZE, 689, Short.MAX_VALUE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jStatusPanel, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)));

    getContentPane().add(jPanel4, java.awt.BorderLayout.CENTER);
}

From source file:com.openbravo.pos.sales.JRetailPanelTicket.java

/**
 * This method is called from within the constructor to Tinitialize the
 * form. WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the FormEditor.
 *///from  w  ww. j  ava 2 s.c om
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    m_jPanContainer = new javax.swing.JPanel();
    m_jOptions = new javax.swing.JPanel();
    m_jButtons = new javax.swing.JPanel();
    m_jPanelScripts = new javax.swing.JPanel();
    m_jButtonsExt = new javax.swing.JPanel();
    jPanel1 = new javax.swing.JPanel();
    m_jbtnScale = new javax.swing.JButton();
    m_jLogout = new javax.swing.JButton();
    m_jbtnPrintBill = new javax.swing.JButton();
    m_jSettleBill = new javax.swing.JButton();
    m_jSplitBtn = new javax.swing.JButton();
    m_jBtnDiscount = new javax.swing.JButton();
    m_jBtnCancelBill = new javax.swing.JButton();
    m_jBtnBillOnHold = new javax.swing.JButton();
    m_jPanelBag = new javax.swing.JPanel();
    jPanel6 = new javax.swing.JPanel();
    jLabel3 = new javax.swing.JLabel();
    m_jLblUserInfo = new javax.swing.JLabel();
    m_jUser = new javax.swing.JLabel();
    jLabel6 = new javax.swing.JLabel();
    m_jTable = new javax.swing.JLabel();
    m_jLblCurrentDate = new javax.swing.JLabel();
    m_jLblTime = new javax.swing.JLabel();
    jLabel1 = new javax.swing.JLabel();
    m_jLblBillNo = new javax.swing.JLabel();
    m_jPanTicket = new javax.swing.JPanel();
    jPanel10 = new javax.swing.JPanel();
    jButtonAddon = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jButton3 = new javax.swing.JButton();
    m_jLblItemCode = new javax.swing.JLabel();
    m_jTxtItemCode = new javax.swing.JTextField();
    m_jLblItemName = new javax.swing.JLabel();
    m_jCboItemName = new javax.swing.JComboBox();
    m_jPanelCentral = new javax.swing.JPanel();
    jPanel5 = new javax.swing.JPanel();
    jPanel2 = new javax.swing.JPanel();
    m_jPlus = new javax.swing.JButton();
    m_jMinus = new javax.swing.JButton();
    m_jEditLine = new javax.swing.JButton();
    m_jCalculatePromotion = new javax.swing.JButton();
    m_jAction = new javax.swing.JButton();
    m_jDelete = new javax.swing.JButton();
    m_jBtnServed = new javax.swing.JButton();
    m_jKot = new javax.swing.JButton();
    m_jEraser = new javax.swing.JButton();
    m_jContEntries = new javax.swing.JPanel();
    m_jPanEntries = new javax.swing.JPanel();
    catcontainer = new javax.swing.JPanel();
    jPanel12 = new javax.swing.JPanel();
    jLayeredPane1 = new javax.swing.JLayeredPane();
    jPanel4 = new javax.swing.JPanel();
    jPanel7 = new javax.swing.JPanel();
    jLabel7 = new javax.swing.JLabel();
    jLabel8 = new javax.swing.JLabel();
    m_jTxtTotalPaid = new javax.swing.JLabel();
    m_jTxtChange = new javax.swing.JLabel();
    jPanel3 = new javax.swing.JPanel();
    m_jTax = new javax.swing.JComboBox();
    m_jPor = new javax.swing.JLabel();
    m_jaddtax = new javax.swing.JToggleButton();
    jLblPrinterStatus = new javax.swing.JLabel();
    m_jKeyFactory = new javax.swing.JTextField();
    jPanel8 = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    m_jSubtotalEuros1 = new javax.swing.JLabel();
    m_jLblTotalEuros4 = new javax.swing.JLabel();
    m_jTaxesEuros1 = new javax.swing.JLabel();
    m_jLblTotalEuros5 = new javax.swing.JLabel();
    jLabel5 = new javax.swing.JLabel();
    m_jLblTotalEuros6 = new javax.swing.JLabel();
    m_jDiscount1 = new javax.swing.JLabel();
    m_jTotalEuros = new javax.swing.JLabel();
    jTaxPanel = new javax.swing.JPanel();
    m_jServiceTaxLbl = new javax.swing.JLabel();
    m_jServiceTax = new javax.swing.JLabel();
    jLabel4 = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    m_jTaxList = new javax.swing.JList();
    m_jSwachBharatLbl = new javax.swing.JLabel();
    m_jSwachBharat = new javax.swing.JLabel();
    jLabel9 = new javax.swing.JLabel();
    m_jPromoDiscount = new javax.swing.JLabel();
    m_jProducts = new javax.swing.JPanel();

    setBackground(new java.awt.Color(222, 232, 231));
    setPreferredSize(new java.awt.Dimension(1024, 768));
    setLayout(new java.awt.CardLayout());

    m_jPanContainer.setBackground(new java.awt.Color(222, 232, 231));
    m_jPanContainer.setLayout(new java.awt.BorderLayout());

    m_jOptions.setBackground(new java.awt.Color(222, 232, 231));
    m_jOptions.setLayout(new java.awt.BorderLayout());

    m_jButtons.setBackground(new java.awt.Color(222, 232, 231));
    m_jButtons.setPreferredSize(new java.awt.Dimension(4, 10));
    m_jOptions.add(m_jButtons, java.awt.BorderLayout.LINE_START);

    m_jPanelScripts.setBackground(new java.awt.Color(222, 232, 231));
    m_jPanelScripts.setLayout(new java.awt.BorderLayout());

    m_jButtonsExt.setBackground(new java.awt.Color(222, 232, 231));
    m_jButtonsExt.setLayout(new javax.swing.BoxLayout(m_jButtonsExt, javax.swing.BoxLayout.LINE_AXIS));

    jPanel1.setBackground(new java.awt.Color(222, 232, 231));
    jPanel1.setPreferredSize(new java.awt.Dimension(620, 47));
    jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    m_jbtnScale.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/ark216.png"))); // NOI18N
    m_jbtnScale.setText(AppLocal.getIntString("button.scale")); // NOI18N
    m_jbtnScale.setFocusPainted(false);
    m_jbtnScale.setFocusable(false);
    m_jbtnScale.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jbtnScale.setRequestFocusEnabled(false);
    m_jbtnScale.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jbtnScaleActionPerformed(evt);
        }
    });
    jPanel1.add(m_jbtnScale, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 5, -1));

    m_jLogout.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1logout.png"))); // NOI18N
    m_jLogout.setToolTipText("Logout");
    m_jLogout.setFocusable(false);
    m_jLogout.setPreferredSize(new java.awt.Dimension(40, 40));
    m_jLogout.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jLogoutActionPerformed(evt);
        }
    });
    jPanel1.add(m_jLogout, new org.netbeans.lib.awtextra.AbsoluteConstraints(575, 0, -1, -1));

    m_jbtnPrintBill.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1Print-Bill.png"))); // NOI18N
    m_jbtnPrintBill.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jbtnPrintBill.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jbtnPrintBillActionPerformed(evt);
        }
    });
    jPanel1.add(m_jbtnPrintBill, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 0, -1, -1));

    m_jSettleBill.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1Settle-Bill.png"))); // NOI18N
    m_jSettleBill.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jSettleBill.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jSettleBillActionPerformed(evt);
        }
    });
    jPanel1.add(m_jSettleBill, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 0, -1, -1));

    m_jSplitBtn.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/190-40-BUTTON.png"))); // NOI18N
    m_jSplitBtn.setMnemonic('f');
    m_jSplitBtn.setFocusPainted(false);
    m_jSplitBtn.setFocusable(false);
    m_jSplitBtn.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jSplitBtn.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jSplitBtn.setRequestFocusEnabled(false);
    m_jSplitBtn.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jSplitBtnActionPerformed(evt);
        }
    });
    jPanel1.add(m_jSplitBtn, new org.netbeans.lib.awtextra.AbsoluteConstraints(195, 0, -1, -1));

    m_jBtnDiscount.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/bill-discount.png"))); // NOI18N
    m_jBtnDiscount.setMnemonic('i');
    m_jBtnDiscount.setToolTipText("Add Discount");
    m_jBtnDiscount.setFocusPainted(false);
    m_jBtnDiscount.setFocusable(false);
    m_jBtnDiscount.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jBtnDiscount.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jBtnDiscount.setRequestFocusEnabled(false);
    m_jBtnDiscount.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnDiscountActionPerformed(evt);
        }
    });
    jPanel1.add(m_jBtnDiscount, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 0, -1, -1));

    m_jBtnCancelBill.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/pos/templates/can-bill.png"))); // NOI18N
    m_jBtnCancelBill.setToolTipText("Cancel the Bill");
    m_jBtnCancelBill.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jBtnCancelBill.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnCancelBillActionPerformed(evt);
        }
    });
    jPanel1.add(m_jBtnCancelBill, new org.netbeans.lib.awtextra.AbsoluteConstraints(385, 0, -1, -1));

    m_jBtnBillOnHold.setBackground(new java.awt.Color(130, 130, 65));
    m_jBtnBillOnHold.setForeground(new java.awt.Color(153, 153, 136));
    m_jBtnBillOnHold
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/HOLD-BILL.png"))); // NOI18N
    m_jBtnBillOnHold.setToolTipText("");
    m_jBtnBillOnHold.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jBtnBillOnHold.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnBillOnHoldActionPerformed(evt);
        }
    });
    jPanel1.add(m_jBtnBillOnHold, new org.netbeans.lib.awtextra.AbsoluteConstraints(5, 0, 90, 40));

    m_jButtonsExt.add(jPanel1);

    m_jPanelScripts.add(m_jButtonsExt, java.awt.BorderLayout.LINE_END);

    m_jOptions.add(m_jPanelScripts, java.awt.BorderLayout.LINE_END);

    m_jPanelBag.setBackground(new java.awt.Color(222, 232, 231));
    m_jPanelBag.setFocusable(false);
    m_jPanelBag.setPreferredSize(new java.awt.Dimension(800, 35));
    m_jPanelBag.setRequestFocusEnabled(false);
    m_jPanelBag.setLayout(new java.awt.BorderLayout());
    m_jOptions.add(m_jPanelBag, java.awt.BorderLayout.CENTER);

    jPanel6.setBackground(new java.awt.Color(80, 102, 116));
    jPanel6.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    jPanel6.setPreferredSize(new java.awt.Dimension(1024, 90));
    jPanel6.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jLabel3.setBackground(new java.awt.Color(222, 232, 231));
    jLabel3.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N
    jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel3.setIcon(new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/pos/templates/1header-habanero.png"))); // NOI18N
    jLabel3.setAutoscrolls(true);
    jLabel3.setFocusable(false);
    jLabel3.setHorizontalTextPosition(javax.swing.SwingConstants.LEADING);
    jLabel3.setMaximumSize(new java.awt.Dimension(1450, 61));
    jLabel3.setMinimumSize(new java.awt.Dimension(1024, 61));
    jLabel3.setPreferredSize(new java.awt.Dimension(1024, 45));
    jLabel3.setRequestFocusEnabled(false);
    jLabel3.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
    jPanel6.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 1551, -1));

    m_jLblUserInfo.setBackground(new java.awt.Color(80, 102, 160));
    m_jLblUserInfo.setForeground(new java.awt.Color(255, 255, 255));
    m_jLblUserInfo.setText("   LOGGED IN USER:");
    m_jLblUserInfo.setFocusable(false);
    m_jLblUserInfo.setPreferredSize(new java.awt.Dimension(340, 16));
    m_jLblUserInfo.setRequestFocusEnabled(false);
    jPanel6.add(m_jLblUserInfo, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 40, 140, 50));

    m_jUser.setForeground(new java.awt.Color(252, 248, 0));
    m_jUser.setText("jLabel6");
    jPanel6.add(m_jUser, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 40, 70, 50));

    jLabel6.setForeground(new java.awt.Color(255, 255, 255));
    jLabel6.setText("Table:");
    jPanel6.add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 40, 50, 50));

    m_jTable.setForeground(new java.awt.Color(252, 248, 0));
    m_jTable.setText("jLabel9");
    jPanel6.add(m_jTable, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 40, 60, 50));

    m_jLblCurrentDate.setBackground(new java.awt.Color(80, 102, 160));
    m_jLblCurrentDate.setForeground(new java.awt.Color(255, 255, 255));
    m_jLblCurrentDate.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jLblCurrentDate
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/Date-icon.png"))); // NOI18N
    m_jLblCurrentDate.setFocusable(false);
    m_jLblCurrentDate.setPreferredSize(new java.awt.Dimension(300, 16));
    m_jLblCurrentDate.setRequestFocusEnabled(false);
    jPanel6.add(m_jLblCurrentDate, new org.netbeans.lib.awtextra.AbsoluteConstraints(590, 45, 180, 45));

    m_jLblTime.setBackground(new java.awt.Color(80, 102, 160));
    m_jLblTime.setForeground(new java.awt.Color(255, 255, 255));
    m_jLblTime.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jLblTime
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/Clock-icon.png"))); // NOI18N
    m_jLblTime.setText(
            "                                                                                       jLabel2");
    m_jLblTime.setFocusable(false);
    m_jLblTime.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
    m_jLblTime.setPreferredSize(new java.awt.Dimension(300, 16));
    m_jLblTime.setRequestFocusEnabled(false);
    jPanel6.add(m_jLblTime, new org.netbeans.lib.awtextra.AbsoluteConstraints(780, 45, 230, 45));

    jLabel1.setForeground(new java.awt.Color(255, 255, 255));
    jLabel1.setText("Bill No:");
    jPanel6.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 40, 50, 50));

    m_jLblBillNo.setForeground(new java.awt.Color(252, 248, 0));
    jPanel6.add(m_jLblBillNo, new org.netbeans.lib.awtextra.AbsoluteConstraints(420, 40, 90, 50));

    m_jOptions.add(jPanel6, java.awt.BorderLayout.NORTH);

    m_jPanContainer.add(m_jOptions, java.awt.BorderLayout.NORTH);

    m_jPanTicket.setBackground(new java.awt.Color(222, 232, 231));
    m_jPanTicket.setLayout(new java.awt.BorderLayout());

    jPanel10.setBackground(new java.awt.Color(222, 232, 231));
    jPanel10.setPreferredSize(new java.awt.Dimension(803, 48));
    jPanel10.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jButtonAddon
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1Add-on.png"))); // NOI18N
    jButtonAddon.setPreferredSize(new java.awt.Dimension(90, 40));
    jButtonAddon.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButtonAddonActionPerformed(evt);
        }
    });
    jPanel10.add(jButtonAddon, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 0, 90, 40));

    jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1Category.png"))); // NOI18N
    jButton2.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton2ActionPerformed(evt);
        }
    });
    jPanel10.add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(790, 0, 90, 40));

    jButton3.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/subcategory.png"))); // NOI18N
    jButton3.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton3ActionPerformed(evt);
        }
    });
    jPanel10.add(jButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(890, 0, 90, 40));

    m_jLblItemCode.setText("ITEM CODE");
    jPanel10.add(m_jLblItemCode, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 8, 90, 20));

    m_jTxtItemCode.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)));
    m_jTxtItemCode.setMinimumSize(new java.awt.Dimension(123, 20));
    m_jTxtItemCode.setPreferredSize(new java.awt.Dimension(123, 20));
    m_jTxtItemCode.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jTxtItemCodeActionPerformed(evt);
        }
    });
    jPanel10.add(m_jTxtItemCode, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 10, -1, 20));

    m_jLblItemName.setText("ITEM NAME");
    jPanel10.add(m_jLblItemName, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 10, -1, 20));

    m_jCboItemName.setEditable(true);
    m_jCboItemName.setAutoscrolls(true);
    m_jCboItemName.setMaximumSize(new java.awt.Dimension(123, 20));
    m_jCboItemName.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            m_jCboItemNameItemStateChanged(evt);
        }
    });
    m_jCboItemName.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jCboItemNameActionPerformed(evt);
        }
    });
    jPanel10.add(m_jCboItemName, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 10, 340, -1));

    m_jPanTicket.add(jPanel10, java.awt.BorderLayout.PAGE_START);

    m_jPanelCentral.setFocusable(false);
    m_jPanelCentral.setRequestFocusEnabled(false);
    m_jPanelCentral.setLayout(new java.awt.BorderLayout());

    jPanel5.setLayout(new java.awt.BorderLayout());

    jPanel2.setBackground(new java.awt.Color(222, 232, 231));
    jPanel2.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 5, 0, 5));
    jPanel2.setMinimumSize(new java.awt.Dimension(66, 338));
    jPanel2.setPreferredSize(new java.awt.Dimension(61, 400));

    m_jPlus.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TPlus.png"))); // NOI18N
    m_jPlus.setToolTipText("Increase selected item quantity by one");
    m_jPlus.setFocusPainted(false);
    m_jPlus.setFocusable(false);
    m_jPlus.setMaximumSize(new java.awt.Dimension(51, 42));
    m_jPlus.setMinimumSize(new java.awt.Dimension(51, 42));
    m_jPlus.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jPlus.setRequestFocusEnabled(false);
    m_jPlus.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jPlusActionPerformed(evt);
        }
    });

    m_jMinus.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TMinus.png"))); // NOI18N
    m_jMinus.setToolTipText("Decrease selected item's quantity by one");
    m_jMinus.setFocusPainted(false);
    m_jMinus.setFocusable(false);
    m_jMinus.setMaximumSize(new java.awt.Dimension(51, 42));
    m_jMinus.setMinimumSize(new java.awt.Dimension(51, 42));
    m_jMinus.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jMinus.setRequestFocusEnabled(false);
    m_jMinus.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jMinusActionPerformed(evt);
        }
    });

    m_jEditLine.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TEdit.png"))); // NOI18N
    m_jEditLine.setMnemonic('e');
    m_jEditLine.setToolTipText("Edit Properties of selected item");
    m_jEditLine.setFocusPainted(false);
    m_jEditLine.setFocusable(false);
    m_jEditLine.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jEditLine.setRequestFocusEnabled(false);
    m_jEditLine.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jEditLineActionPerformed(evt);
        }
    });

    m_jCalculatePromotion
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/pramo.png"))); // NOI18N
    m_jCalculatePromotion.setMnemonic('f');
    m_jCalculatePromotion.setFocusPainted(false);
    m_jCalculatePromotion.setFocusable(false);
    m_jCalculatePromotion.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jCalculatePromotion.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jCalculatePromotion.setRequestFocusEnabled(false);
    m_jCalculatePromotion.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jCalculatePromotionActionPerformed(evt);
        }
    });

    m_jAction.setBorder(null);
    m_jAction.setBorderPainted(false);
    m_jAction.setPreferredSize(new java.awt.Dimension(10, 2));
    m_jAction.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jActionActionPerformed(evt);
        }
    });

    m_jDelete.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/Tclose.png"))); // NOI18N
    m_jDelete.setMnemonic('d');
    m_jDelete.setToolTipText("Remove total quantity of selected item");
    m_jDelete.setFocusPainted(false);
    m_jDelete.setFocusable(false);
    m_jDelete.setMinimumSize(new java.awt.Dimension(51, 42));
    m_jDelete.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jDelete.setRequestFocusEnabled(false);
    m_jDelete.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jDeleteActionPerformed(evt);
        }
    });

    m_jBtnServed.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/servedsymbol.png"))); // NOI18N
    m_jBtnServed.setToolTipText("Serve Selected Item");
    m_jBtnServed.setPreferredSize(new java.awt.Dimension(91, 73));
    m_jBtnServed.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnServedActionPerformed(evt);
        }
    });

    m_jKot.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TKOT.png"))); // NOI18N
    m_jKot.setToolTipText("Send All Fresh Items to Kitchen");
    m_jKot.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jKot.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnKotActionPerformed(evt);
        }
    });

    m_jEraser.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TDelete.png"))); // NOI18N
    m_jEraser.setMnemonic('i');
    m_jEraser.setToolTipText("Clear All Non KOT Items");
    m_jEraser.setFocusPainted(false);
    m_jEraser.setFocusable(false);
    m_jEraser.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jEraser.setRequestFocusEnabled(false);
    m_jEraser.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jEraserActionPerformed(evt);
        }
    });

    org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
    jPanel2.setLayout(jPanel2Layout);
    jPanel2Layout.setHorizontalGroup(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel2Layout.createSequentialGroup().add(168, 168, 168).add(m_jAction,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
            .add(m_jBtnServed, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 51,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
            .add(m_jEraser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 51,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
            .add(m_jKot, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
            .add(m_jCalculatePromotion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
            .add(m_jEditLine, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 51,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
            .add(m_jDelete, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
            .add(m_jMinus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
            .add(m_jPlus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE));
    jPanel2Layout.setVerticalGroup(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel2Layout.createSequentialGroup()
                    .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanel2Layout.createSequentialGroup().add(242, 242, 242)
                                    .add(m_jAction, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .add(jPanel2Layout.createSequentialGroup()
                                    .add(m_jPlus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(3, 3, 3)
                                    .add(m_jMinus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(3, 3, 3)
                                    .add(m_jDelete, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(2, 2, 2)
                                    .add(m_jEditLine, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 42,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(3, 3, 3)
                                    .add(m_jCalculatePromotion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 7,
                                            Short.MAX_VALUE)
                                    .add(m_jBtnServed, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))
                    .add(m_jKot, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(3, 3, 3).add(m_jEraser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 45,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(36, 36, 36)));

    jPanel5.add(jPanel2, java.awt.BorderLayout.NORTH);

    m_jPanelCentral.add(jPanel5, java.awt.BorderLayout.LINE_END);

    m_jPanTicket.add(m_jPanelCentral, java.awt.BorderLayout.CENTER);

    m_jContEntries.setFocusable(false);
    m_jContEntries.setPreferredSize(new java.awt.Dimension(501, 500));
    m_jContEntries.setRequestFocusEnabled(false);
    m_jContEntries.setLayout(new java.awt.BorderLayout());

    m_jPanEntries.setMinimumSize(new java.awt.Dimension(508, 500));
    m_jPanEntries.setPreferredSize(new java.awt.Dimension(495, 525));
    m_jPanEntries.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    catcontainer.setPreferredSize(new java.awt.Dimension(300, 200));
    catcontainer.setLayout(new java.awt.BorderLayout());
    m_jPanEntries.add(catcontainer, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 508, 510));

    m_jContEntries.add(m_jPanEntries, java.awt.BorderLayout.PAGE_START);

    m_jPanTicket.add(m_jContEntries, java.awt.BorderLayout.LINE_END);

    jPanel12.setBackground(new java.awt.Color(222, 232, 231));
    jPanel12.setFocusable(false);
    jPanel12.setPreferredSize(new java.awt.Dimension(600, 5));
    jPanel12.setRequestFocusEnabled(false);
    jPanel12.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jLayeredPane1.setPreferredSize(new java.awt.Dimension(300, 402));
    jPanel12.add(jLayeredPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, -500, 989, 509));

    m_jPanTicket.add(jPanel12, java.awt.BorderLayout.PAGE_END);

    m_jPanContainer.add(m_jPanTicket, java.awt.BorderLayout.CENTER);

    jPanel4.setBackground(new java.awt.Color(222, 232, 231));
    jPanel4.setPreferredSize(new java.awt.Dimension(1024, 210));
    jPanel4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jPanel7.setBorder(
            javax.swing.BorderFactory.createMatteBorder(0, 1, 1, 1, new java.awt.Color(204, 204, 204)));
    jPanel7.setMaximumSize(new java.awt.Dimension(700, 158));
    jPanel7.setPreferredSize(new java.awt.Dimension(320, 158));

    jLabel7.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    jLabel7.setText("TOTAL PAID");

    jLabel8.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    jLabel8.setText("CHANGE");

    m_jTxtTotalPaid.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    m_jTxtTotalPaid.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jTxtTotalPaid.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTxtTotalPaid.setFocusable(false);
    m_jTxtTotalPaid.setOpaque(true);
    m_jTxtTotalPaid.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jTxtTotalPaid.setRequestFocusEnabled(false);

    m_jTxtChange.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    m_jTxtChange.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jTxtChange.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTxtChange.setFocusable(false);
    m_jTxtChange.setOpaque(true);
    m_jTxtChange.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jTxtChange.setRequestFocusEnabled(false);

    jPanel3.setPreferredSize(new java.awt.Dimension(228, 100));

    m_jTax.setFocusable(false);
    m_jTax.setRequestFocusEnabled(false);

    m_jPor.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jPor.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jPor.setFocusable(false);
    m_jPor.setOpaque(true);
    m_jPor.setPreferredSize(new java.awt.Dimension(22, 22));
    m_jPor.setRequestFocusEnabled(false);

    m_jaddtax.setText("+");
    m_jaddtax.setFocusPainted(false);
    m_jaddtax.setFocusable(false);
    m_jaddtax.setRequestFocusEnabled(false);

    jLblPrinterStatus.setForeground(new java.awt.Color(255, 0, 0));

    m_jKeyFactory.setBackground(javax.swing.UIManager.getDefaults().getColor("Panel.background"));
    m_jKeyFactory.setForeground(javax.swing.UIManager.getDefaults().getColor("Panel.background"));
    m_jKeyFactory.setBorder(null);
    m_jKeyFactory.setCaretColor(javax.swing.UIManager.getDefaults().getColor("Panel.background"));
    m_jKeyFactory.setPreferredSize(new java.awt.Dimension(4, 4));
    m_jKeyFactory.setRequestFocusEnabled(false);
    m_jKeyFactory.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            m_jKeyFactoryKeyTyped(evt);
        }
    });

    org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
    jPanel3.setLayout(jPanel3Layout);
    jPanel3Layout.setHorizontalGroup(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel3Layout.createSequentialGroup()
                    .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanel3Layout.createSequentialGroup().addContainerGap()
                                    .add(m_jKeyFactory, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 239,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(65, 65, 65).add(jLblPrinterStatus,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 68,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jPanel3Layout.createSequentialGroup().add(20, 20, 20)
                                    .add(m_jaddtax, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 46,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(m_jPor,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 12,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jPanel3Layout.createSequentialGroup().addContainerGap().add(m_jTax,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 106,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    jPanel3Layout.setVerticalGroup(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel3Layout.createSequentialGroup()
                    .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanel3Layout.createSequentialGroup().add(6, 6, 6).add(jLblPrinterStatus,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(m_jKeyFactory, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 11,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(m_jTax, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(21, 21, 21)
                    .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(m_jPor, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 8,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(m_jaddtax, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    org.jdesktop.layout.GroupLayout jPanel7Layout = new org.jdesktop.layout.GroupLayout(jPanel7);
    jPanel7.setLayout(jPanel7Layout);
    jPanel7Layout.setHorizontalGroup(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel7Layout.createSequentialGroup().add(10, 10, 10)
                    .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanel7Layout.createSequentialGroup()
                                    .add(jLabel7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 126,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(3, 3, 3)
                                    .add(m_jTxtTotalPaid, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 120,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jPanel7Layout.createSequentialGroup()
                                    .add(jLabel8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 110,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(19, 19, 19).add(m_jTxtChange,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 120,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
            .add(org.jdesktop.layout.GroupLayout.TRAILING,
                    jPanel7Layout.createSequentialGroup()
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 392,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap()));
    jPanel7Layout
            .setVerticalGroup(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel7Layout.createSequentialGroup()
                            .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 89,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(270, 270, 270)
                            .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLabel7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(m_jTxtTotalPaid, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(10, 10, 10)
                            .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLabel8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(m_jTxtChange, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))));

    jPanel4.add(jPanel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(1325, 1, 170, 160));

    jPanel8.setBackground(new java.awt.Color(255, 255, 255));
    jPanel8.setBorder(
            javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(204, 204, 204)));
    jPanel8.setPreferredSize(new java.awt.Dimension(1551, 193));
    jPanel8.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jLabel2.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
    jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    jLabel2.setText("Bill Details");
    jPanel8.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(15, 12, 188, -1));

    m_jSubtotalEuros1.setBackground(new java.awt.Color(255, 255, 255));
    m_jSubtotalEuros1.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
    m_jSubtotalEuros1.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jSubtotalEuros1.setFocusable(false);
    m_jSubtotalEuros1.setOpaque(true);
    m_jSubtotalEuros1.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jSubtotalEuros1.setRequestFocusEnabled(false);
    jPanel8.add(m_jSubtotalEuros1, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 40, 80, 23));

    m_jLblTotalEuros4.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    m_jLblTotalEuros4.setText("SUB TOTAL");
    jPanel8.add(m_jLblTotalEuros4, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 37, 94, 23));

    m_jTaxesEuros1.setBackground(new java.awt.Color(255, 255, 255));
    m_jTaxesEuros1.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
    m_jTaxesEuros1.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTaxesEuros1.setFocusable(false);
    m_jTaxesEuros1.setOpaque(true);
    m_jTaxesEuros1.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jTaxesEuros1.setRequestFocusEnabled(false);
    jPanel8.add(m_jTaxesEuros1, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 70, 80, 23));

    m_jLblTotalEuros5.setBackground(new java.awt.Color(255, 255, 255));
    m_jLblTotalEuros5.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    m_jLblTotalEuros5.setText("TAXES");
    jPanel8.add(m_jLblTotalEuros5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 70, 60, 23));

    jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel5.setText("DISCOUNT");
    jPanel8.add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 100, 80, 23));

    m_jLblTotalEuros6.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    m_jLblTotalEuros6.setText("TOTAL SALES");
    jPanel8.add(m_jLblTotalEuros6, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 160, 80, 20));

    m_jDiscount1.setBackground(new java.awt.Color(255, 255, 255));
    m_jDiscount1.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
    m_jDiscount1.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jDiscount1.setFocusable(false);
    m_jDiscount1.setOpaque(true);
    m_jDiscount1.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jDiscount1.setRequestFocusEnabled(false);
    jPanel8.add(m_jDiscount1, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 100, 80, 23));

    m_jTotalEuros.setBackground(new java.awt.Color(255, 255, 255));
    m_jTotalEuros.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jTotalEuros.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTotalEuros.setFocusable(false);
    m_jTotalEuros.setOpaque(true);
    m_jTotalEuros.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jTotalEuros.setRequestFocusEnabled(false);
    jPanel8.add(m_jTotalEuros, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 160, 80, 23));

    jTaxPanel.setBackground(new java.awt.Color(255, 255, 255));
    jTaxPanel.setPreferredSize(new java.awt.Dimension(202, 157));
    jTaxPanel.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    m_jServiceTaxLbl.setText("SERVICE TAX");
    jTaxPanel.add(m_jServiceTaxLbl, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 40, 100, 23));

    m_jServiceTax.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    jTaxPanel.add(m_jServiceTax, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 40, 70, 23));

    jLabel4.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
    jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    jLabel4.setText("Tax Breakup");
    jTaxPanel.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 11, 194, -1));

    jScrollPane1.setBorder(null);
    jScrollPane1.setViewportView(m_jTaxList);

    jTaxPanel.add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 37, 200, 140));

    m_jSwachBharatLbl.setText("SWACHH BHARAT TAX");
    jTaxPanel.add(m_jSwachBharatLbl, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 70, 130, 20));

    m_jSwachBharat.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    jTaxPanel.add(m_jSwachBharat, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 70, 70, 20));

    jPanel8.add(jTaxPanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(221, 1, -1, 178));

    jLabel9.setText("PROMO DISCOUNT");
    jPanel8.add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 130, 120, 20));

    m_jPromoDiscount.setBackground(new java.awt.Color(255, 255, 255));
    m_jPromoDiscount.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jPromoDiscount.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jPromoDiscount.setFocusable(false);
    m_jPromoDiscount.setOpaque(true);
    m_jPromoDiscount.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jPromoDiscount.setRequestFocusEnabled(false);
    jPanel8.add(m_jPromoDiscount, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 130, 80, 23));

    jPanel4.add(jPanel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(7, 1, 434, -1));

    m_jProducts.setBackground(new java.awt.Color(255, 255, 255));
    m_jProducts.setLayout(new java.awt.CardLayout());
    jPanel4.add(m_jProducts, new org.netbeans.lib.awtextra.AbsoluteConstraints(447, 1, 551, 190));

    m_jPanContainer.add(jPanel4, java.awt.BorderLayout.SOUTH);

    add(m_jPanContainer, "ticket");
}

From source file:com.openbravo.pos.sales.JRetailPanelTakeAway.java

/**
 * This method is called from within the constructor to Tinitialize the
 * form. WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the FormEditor.
 *//*from   w  ww  .j a  va 2 s .  c om*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    m_jPanContainer = new javax.swing.JPanel();
    m_jOptions = new javax.swing.JPanel();
    m_jButtons = new javax.swing.JPanel();
    m_jPanelScripts = new javax.swing.JPanel();
    m_jButtonsExt = new javax.swing.JPanel();
    jPanel1 = new javax.swing.JPanel();
    m_jbtnScale = new javax.swing.JButton();
    m_jLogout = new javax.swing.JButton();
    m_jbtnPrintBill = new javax.swing.JButton();
    m_jSettleBill = new javax.swing.JButton();
    m_jSplitBtn = new javax.swing.JButton();
    m_jBtnCancelBill = new javax.swing.JButton();
    m_jBtnBillOnHold = new javax.swing.JButton();
    m_jBtnDiscount = new javax.swing.JButton();
    m_jPanelBag = new javax.swing.JPanel();
    jPanel6 = new javax.swing.JPanel();
    jLabel3 = new javax.swing.JLabel();
    m_jLblUserInfo = new javax.swing.JLabel();
    m_jUser = new javax.swing.JLabel();
    m_jLblCurrentDate = new javax.swing.JLabel();
    m_jLblTime = new javax.swing.JLabel();
    jLabel1 = new javax.swing.JLabel();
    m_jLblBillNo = new javax.swing.JLabel();
    m_jPanTicket = new javax.swing.JPanel();
    jPanel10 = new javax.swing.JPanel();
    jButtonAddon = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jButton3 = new javax.swing.JButton();
    m_jLblItemCode = new javax.swing.JLabel();
    m_jTxtItemCode = new javax.swing.JTextField();
    m_jLblItemName = new javax.swing.JLabel();
    m_jCboItemName = new javax.swing.JComboBox();
    m_jPanelCentral = new javax.swing.JPanel();
    jPanel5 = new javax.swing.JPanel();
    jPanel2 = new javax.swing.JPanel();
    m_jPlus = new javax.swing.JButton();
    m_jMinus = new javax.swing.JButton();
    m_jEditLine = new javax.swing.JButton();
    m_jCalculatePromotion = new javax.swing.JButton();
    m_jAction = new javax.swing.JButton();
    m_jDelete = new javax.swing.JButton();
    m_jKot = new javax.swing.JButton();
    m_jBtnServed = new javax.swing.JButton();
    m_jEraser = new javax.swing.JButton();
    m_jContEntries = new javax.swing.JPanel();
    m_jPanEntries = new javax.swing.JPanel();
    catcontainer = new javax.swing.JPanel();
    jPanel12 = new javax.swing.JPanel();
    jLayeredPane1 = new javax.swing.JLayeredPane();
    jPanel4 = new javax.swing.JPanel();
    jPanel7 = new javax.swing.JPanel();
    jLabel7 = new javax.swing.JLabel();
    jLabel8 = new javax.swing.JLabel();
    m_jTxtTotalPaid = new javax.swing.JLabel();
    m_jTxtChange = new javax.swing.JLabel();
    jPanel3 = new javax.swing.JPanel();
    m_jTax = new javax.swing.JComboBox();
    m_jPor = new javax.swing.JLabel();
    m_jaddtax = new javax.swing.JToggleButton();
    jLblPrinterStatus = new javax.swing.JLabel();
    m_jKeyFactory = new javax.swing.JTextField();
    jPanel8 = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    m_jSubtotalEuros1 = new javax.swing.JLabel();
    m_jLblTotalEuros4 = new javax.swing.JLabel();
    m_jTaxesEuros1 = new javax.swing.JLabel();
    m_jLblTotalEuros5 = new javax.swing.JLabel();
    jLabel5 = new javax.swing.JLabel();
    m_jLblTotalEuros6 = new javax.swing.JLabel();
    m_jDiscount1 = new javax.swing.JLabel();
    m_jTotalEuros = new javax.swing.JLabel();
    jTaxPanel = new javax.swing.JPanel();
    m_jServiceTaxLbl = new javax.swing.JLabel();
    m_jServiceTax = new javax.swing.JLabel();
    jLabel4 = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    m_jTaxList = new javax.swing.JList();
    m_jSwachBharatLbl = new javax.swing.JLabel();
    m_jSwachBharat = new javax.swing.JLabel();
    jLabel6 = new javax.swing.JLabel();
    m_jPromoDiscount = new javax.swing.JLabel();
    m_jProducts = new javax.swing.JPanel();

    setBackground(new java.awt.Color(222, 232, 231));
    setPreferredSize(new java.awt.Dimension(1024, 768));
    setLayout(new java.awt.CardLayout());

    m_jPanContainer.setBackground(new java.awt.Color(222, 232, 231));
    m_jPanContainer.setLayout(new java.awt.BorderLayout());

    m_jOptions.setBackground(new java.awt.Color(222, 232, 231));
    m_jOptions.setLayout(new java.awt.BorderLayout());

    m_jButtons.setBackground(new java.awt.Color(222, 232, 231));
    m_jButtons.setPreferredSize(new java.awt.Dimension(4, 10));
    m_jOptions.add(m_jButtons, java.awt.BorderLayout.LINE_START);

    m_jPanelScripts.setBackground(new java.awt.Color(222, 232, 231));
    m_jPanelScripts.setLayout(new java.awt.BorderLayout());

    m_jButtonsExt.setBackground(new java.awt.Color(222, 232, 231));
    m_jButtonsExt.setLayout(new javax.swing.BoxLayout(m_jButtonsExt, javax.swing.BoxLayout.LINE_AXIS));

    jPanel1.setBackground(new java.awt.Color(222, 232, 231));
    jPanel1.setPreferredSize(new java.awt.Dimension(620, 47));
    jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    m_jbtnScale.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/ark216.png"))); // NOI18N
    m_jbtnScale.setText(AppLocal.getIntString("button.scale")); // NOI18N
    m_jbtnScale.setFocusPainted(false);
    m_jbtnScale.setFocusable(false);
    m_jbtnScale.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jbtnScale.setRequestFocusEnabled(false);
    m_jbtnScale.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jbtnScaleActionPerformed(evt);
        }
    });
    jPanel1.add(m_jbtnScale, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 5, -1));

    m_jLogout.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1logout.png"))); // NOI18N
    m_jLogout.setToolTipText("Logout");
    m_jLogout.setFocusable(false);
    m_jLogout.setPreferredSize(new java.awt.Dimension(40, 40));
    m_jLogout.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jLogoutActionPerformed(evt);
        }
    });
    jPanel1.add(m_jLogout, new org.netbeans.lib.awtextra.AbsoluteConstraints(575, 0, -1, -1));

    m_jbtnPrintBill.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1Print-Bill.png"))); // NOI18N
    m_jbtnPrintBill.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jbtnPrintBill.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jbtnPrintBillActionPerformed(evt);
        }
    });
    jPanel1.add(m_jbtnPrintBill, new org.netbeans.lib.awtextra.AbsoluteConstraints(385, 0, -1, -1));

    m_jSettleBill.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1Settle-Bill.png"))); // NOI18N
    m_jSettleBill.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jSettleBill.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jSettleBillActionPerformed(evt);
        }
    });
    jPanel1.add(m_jSettleBill, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 0, -1, -1));

    m_jSplitBtn.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/190-40-BUTTON.png"))); // NOI18N
    m_jSplitBtn.setMnemonic('f');
    m_jSplitBtn.setFocusPainted(false);
    m_jSplitBtn.setFocusable(false);
    m_jSplitBtn.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jSplitBtn.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jSplitBtn.setRequestFocusEnabled(false);
    m_jSplitBtn.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jSplitBtnActionPerformed(evt);
        }
    });
    jPanel1.add(m_jSplitBtn, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 0, -1, -1));

    m_jBtnCancelBill.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/pos/templates/can-bill.png"))); // NOI18N
    m_jBtnCancelBill.setToolTipText("Cancel the Bill");
    m_jBtnCancelBill.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jBtnCancelBill.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnCancelBillActionPerformed(evt);
        }
    });
    jPanel1.add(m_jBtnCancelBill, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 0, -1, -1));

    m_jBtnBillOnHold.setBackground(new java.awt.Color(130, 130, 65));
    m_jBtnBillOnHold.setForeground(new java.awt.Color(153, 153, 136));
    m_jBtnBillOnHold
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/HOLD-BILL.png"))); // NOI18N
    m_jBtnBillOnHold.setToolTipText("");
    m_jBtnBillOnHold.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jBtnBillOnHold.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnBillOnHoldActionPerformed(evt);
        }
    });
    jPanel1.add(m_jBtnBillOnHold, new org.netbeans.lib.awtextra.AbsoluteConstraints(90, 0, 90, 40));

    m_jBtnDiscount.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/bill-discount.png"))); // NOI18N
    m_jBtnDiscount.setMnemonic('i');
    m_jBtnDiscount.setToolTipText("Add Discount");
    m_jBtnDiscount.setFocusPainted(false);
    m_jBtnDiscount.setFocusable(false);
    m_jBtnDiscount.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jBtnDiscount.setPreferredSize(new java.awt.Dimension(90, 40));
    m_jBtnDiscount.setRequestFocusEnabled(false);
    m_jBtnDiscount.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnDiscountActionPerformed(evt);
        }
    });
    jPanel1.add(m_jBtnDiscount, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 0, -1, -1));

    m_jButtonsExt.add(jPanel1);

    m_jPanelScripts.add(m_jButtonsExt, java.awt.BorderLayout.LINE_END);

    m_jOptions.add(m_jPanelScripts, java.awt.BorderLayout.LINE_END);

    m_jPanelBag.setBackground(new java.awt.Color(222, 232, 231));
    m_jPanelBag.setFocusable(false);
    m_jPanelBag.setPreferredSize(new java.awt.Dimension(800, 35));
    m_jPanelBag.setRequestFocusEnabled(false);
    m_jPanelBag.setLayout(new java.awt.BorderLayout());
    m_jOptions.add(m_jPanelBag, java.awt.BorderLayout.CENTER);

    jPanel6.setBackground(new java.awt.Color(80, 102, 116));
    jPanel6.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    jPanel6.setPreferredSize(new java.awt.Dimension(1024, 90));
    jPanel6.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jLabel3.setBackground(new java.awt.Color(222, 232, 231));
    jLabel3.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N
    jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel3.setIcon(new javax.swing.ImageIcon(
            getClass().getResource("/com/openbravo/pos/templates/1header-habanero.png"))); // NOI18N
    jLabel3.setAutoscrolls(true);
    jLabel3.setFocusable(false);
    jLabel3.setHorizontalTextPosition(javax.swing.SwingConstants.LEADING);
    jLabel3.setMaximumSize(new java.awt.Dimension(1450, 61));
    jLabel3.setMinimumSize(new java.awt.Dimension(1024, 61));
    jLabel3.setPreferredSize(new java.awt.Dimension(1024, 45));
    jLabel3.setRequestFocusEnabled(false);
    jLabel3.setVerticalTextPosition(javax.swing.SwingConstants.TOP);
    jPanel6.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 1551, -1));

    m_jLblUserInfo.setBackground(new java.awt.Color(80, 102, 160));
    m_jLblUserInfo.setForeground(new java.awt.Color(255, 255, 255));
    m_jLblUserInfo.setText("   LOGGED IN USER:");
    m_jLblUserInfo.setFocusable(false);
    m_jLblUserInfo.setPreferredSize(new java.awt.Dimension(340, 16));
    m_jLblUserInfo.setRequestFocusEnabled(false);
    jPanel6.add(m_jLblUserInfo, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 40, 140, 50));

    m_jUser.setForeground(new java.awt.Color(252, 248, 0));
    m_jUser.setText("jLabel6");
    jPanel6.add(m_jUser, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 40, 70, 50));

    m_jLblCurrentDate.setBackground(new java.awt.Color(80, 102, 160));
    m_jLblCurrentDate.setForeground(new java.awt.Color(255, 255, 255));
    m_jLblCurrentDate.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jLblCurrentDate
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/Date-icon.png"))); // NOI18N
    m_jLblCurrentDate.setFocusable(false);
    m_jLblCurrentDate.setPreferredSize(new java.awt.Dimension(300, 16));
    m_jLblCurrentDate.setRequestFocusEnabled(false);
    jPanel6.add(m_jLblCurrentDate, new org.netbeans.lib.awtextra.AbsoluteConstraints(590, 45, 180, 45));

    m_jLblTime.setBackground(new java.awt.Color(80, 102, 160));
    m_jLblTime.setForeground(new java.awt.Color(255, 255, 255));
    m_jLblTime.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jLblTime
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/Clock-icon.png"))); // NOI18N
    m_jLblTime.setText(
            "                                                                                       jLabel2");
    m_jLblTime.setFocusable(false);
    m_jLblTime.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
    m_jLblTime.setPreferredSize(new java.awt.Dimension(300, 16));
    m_jLblTime.setRequestFocusEnabled(false);
    jPanel6.add(m_jLblTime, new org.netbeans.lib.awtextra.AbsoluteConstraints(780, 45, 230, 45));

    jLabel1.setForeground(new java.awt.Color(255, 255, 255));
    jLabel1.setText("Bill No:");
    jPanel6.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 40, 50, 50));

    m_jLblBillNo.setForeground(new java.awt.Color(252, 248, 0));
    jPanel6.add(m_jLblBillNo, new org.netbeans.lib.awtextra.AbsoluteConstraints(420, 40, 90, 50));

    m_jOptions.add(jPanel6, java.awt.BorderLayout.NORTH);

    m_jPanContainer.add(m_jOptions, java.awt.BorderLayout.NORTH);

    m_jPanTicket.setBackground(new java.awt.Color(222, 232, 231));
    m_jPanTicket.setLayout(new java.awt.BorderLayout());

    jPanel10.setBackground(new java.awt.Color(222, 232, 231));
    jPanel10.setPreferredSize(new java.awt.Dimension(803, 48));
    jPanel10.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jButtonAddon
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1Add-on.png"))); // NOI18N
    jButtonAddon.setPreferredSize(new java.awt.Dimension(90, 40));
    jButtonAddon.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButtonAddonActionPerformed(evt);
        }
    });
    jPanel10.add(jButtonAddon, new org.netbeans.lib.awtextra.AbsoluteConstraints(793, 2, 90, 40));

    jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/1Category.png"))); // NOI18N
    jButton2.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton2ActionPerformed(evt);
        }
    });
    jPanel10.add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(888, 2, 90, 40));

    jButton3.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/subcategory.png"))); // NOI18N
    jButton3.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            jButton3ActionPerformed(evt);
        }
    });
    jPanel10.add(jButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(983, 2, 90, 40));

    m_jLblItemCode.setText("ITEM CODE");
    jPanel10.add(m_jLblItemCode, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 8, 90, 20));

    m_jTxtItemCode.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)));
    m_jTxtItemCode.setMinimumSize(new java.awt.Dimension(123, 20));
    m_jTxtItemCode.setPreferredSize(new java.awt.Dimension(123, 20));
    m_jTxtItemCode.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jTxtItemCodeActionPerformed(evt);
        }
    });
    jPanel10.add(m_jTxtItemCode, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 10, -1, 20));

    m_jLblItemName.setText("ITEM NAME");
    jPanel10.add(m_jLblItemName, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 10, -1, 20));

    m_jCboItemName.setEditable(true);
    m_jCboItemName.setAutoscrolls(true);
    m_jCboItemName.setMaximumSize(new java.awt.Dimension(123, 20));
    m_jCboItemName.addItemListener(new java.awt.event.ItemListener() {
        public void itemStateChanged(java.awt.event.ItemEvent evt) {
            m_jCboItemNameItemStateChanged(evt);
        }
    });
    m_jCboItemName.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jCboItemNameActionPerformed(evt);
        }
    });
    jPanel10.add(m_jCboItemName, new org.netbeans.lib.awtextra.AbsoluteConstraints(370, 10, 340, -1));

    m_jPanTicket.add(jPanel10, java.awt.BorderLayout.PAGE_START);

    m_jPanelCentral.setFocusable(false);
    m_jPanelCentral.setRequestFocusEnabled(false);
    m_jPanelCentral.setLayout(new java.awt.BorderLayout());

    jPanel5.setLayout(new java.awt.BorderLayout());

    jPanel2.setBackground(new java.awt.Color(222, 232, 231));
    jPanel2.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 5, 0, 5));
    jPanel2.setMinimumSize(new java.awt.Dimension(66, 338));
    jPanel2.setPreferredSize(new java.awt.Dimension(61, 400));

    m_jPlus.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TPlus.png"))); // NOI18N
    m_jPlus.setToolTipText("Increase selected item quantity by one");
    m_jPlus.setFocusPainted(false);
    m_jPlus.setFocusable(false);
    m_jPlus.setMaximumSize(new java.awt.Dimension(51, 42));
    m_jPlus.setMinimumSize(new java.awt.Dimension(51, 42));
    m_jPlus.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jPlus.setRequestFocusEnabled(false);
    m_jPlus.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jPlusActionPerformed(evt);
        }
    });

    m_jMinus.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TMinus.png"))); // NOI18N
    m_jMinus.setToolTipText("Decrease selected item's quantity by one");
    m_jMinus.setFocusPainted(false);
    m_jMinus.setFocusable(false);
    m_jMinus.setMaximumSize(new java.awt.Dimension(51, 42));
    m_jMinus.setMinimumSize(new java.awt.Dimension(51, 42));
    m_jMinus.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jMinus.setRequestFocusEnabled(false);
    m_jMinus.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jMinusActionPerformed(evt);
        }
    });

    m_jEditLine.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TEdit.png"))); // NOI18N
    m_jEditLine.setMnemonic('e');
    m_jEditLine.setToolTipText("Edit Properties of selected item");
    m_jEditLine.setFocusPainted(false);
    m_jEditLine.setFocusable(false);
    m_jEditLine.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jEditLine.setRequestFocusEnabled(false);
    m_jEditLine.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jEditLineActionPerformed(evt);
        }
    });

    m_jCalculatePromotion
            .setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/pramo.png"))); // NOI18N
    m_jCalculatePromotion.setMnemonic('f');
    m_jCalculatePromotion.setFocusPainted(false);
    m_jCalculatePromotion.setFocusable(false);
    m_jCalculatePromotion.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jCalculatePromotion.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jCalculatePromotion.setRequestFocusEnabled(false);
    m_jCalculatePromotion.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jCalculatePromotionActionPerformed(evt);
        }
    });

    m_jAction.setBorder(null);
    m_jAction.setBorderPainted(false);
    m_jAction.setPreferredSize(new java.awt.Dimension(10, 2));
    m_jAction.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jActionActionPerformed(evt);
        }
    });

    m_jDelete.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/Tclose.png"))); // NOI18N
    m_jDelete.setMnemonic('d');
    m_jDelete.setToolTipText("Remove total quantity of selected item");
    m_jDelete.setFocusPainted(false);
    m_jDelete.setFocusable(false);
    m_jDelete.setMinimumSize(new java.awt.Dimension(51, 42));
    m_jDelete.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jDelete.setRequestFocusEnabled(false);
    m_jDelete.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jDeleteActionPerformed(evt);
        }
    });

    m_jKot.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TKOT.png"))); // NOI18N
    m_jKot.setToolTipText("Send All Fresh Items to Kitchen");
    m_jKot.setPreferredSize(new java.awt.Dimension(51, 42));
    m_jKot.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnKotActionPerformed(evt);
        }
    });

    m_jBtnServed.setIcon(
            new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/servedsymbol.png"))); // NOI18N
    m_jBtnServed.setToolTipText("Serve Selected Item");
    m_jBtnServed.setPreferredSize(new java.awt.Dimension(91, 73));
    m_jBtnServed.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jBtnServedActionPerformed(evt);
        }
    });

    m_jEraser.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/openbravo/images/TDelete.png"))); // NOI18N
    m_jEraser.setMnemonic('i');
    m_jEraser.setToolTipText("Clear All Non KOT Items");
    m_jEraser.setFocusPainted(false);
    m_jEraser.setFocusable(false);
    m_jEraser.setMargin(new java.awt.Insets(8, 14, 8, 14));
    m_jEraser.setRequestFocusEnabled(false);
    m_jEraser.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            m_jEraserActionPerformed(evt);
        }
    });

    org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
    jPanel2.setLayout(jPanel2Layout);
    jPanel2Layout.setHorizontalGroup(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel2Layout.createSequentialGroup().add(5, 5, 5).add(jPanel2Layout
                    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(m_jPlus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(m_jMinus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(m_jDelete, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel2Layout.createSequentialGroup()
                            .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                                    .add(m_jEraser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 51,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(m_jCalculatePromotion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(m_jKot, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(m_jBtnServed, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 51,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(112, 112, 112).add(m_jAction, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(m_jEditLine, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 51,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))));
    jPanel2Layout.setVerticalGroup(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel2Layout.createSequentialGroup()
                    .add(m_jPlus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(5, 5, 5)
                    .add(m_jMinus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(4, 4, 4)
                    .add(m_jDelete, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(4, 4, 4)
                    .add(m_jEditLine, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 42,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanel2Layout.createSequentialGroup().add(61, 61, 61).add(m_jAction,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jPanel2Layout.createSequentialGroup()
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(m_jEraser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 45,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                                    .add(m_jCalculatePromotion, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(m_jKot, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
                            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(m_jBtnServed, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 40,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(26, Short.MAX_VALUE)));

    jPanel5.add(jPanel2, java.awt.BorderLayout.NORTH);

    m_jPanelCentral.add(jPanel5, java.awt.BorderLayout.LINE_END);

    m_jPanTicket.add(m_jPanelCentral, java.awt.BorderLayout.CENTER);

    m_jContEntries.setFocusable(false);
    m_jContEntries.setPreferredSize(new java.awt.Dimension(501, 500));
    m_jContEntries.setRequestFocusEnabled(false);
    m_jContEntries.setLayout(new java.awt.BorderLayout());

    m_jPanEntries.setMinimumSize(new java.awt.Dimension(508, 500));
    m_jPanEntries.setPreferredSize(new java.awt.Dimension(495, 525));
    m_jPanEntries.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    catcontainer.setPreferredSize(new java.awt.Dimension(300, 200));
    catcontainer.setLayout(new java.awt.BorderLayout());
    m_jPanEntries.add(catcontainer, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 508, 510));

    m_jContEntries.add(m_jPanEntries, java.awt.BorderLayout.PAGE_START);

    m_jPanTicket.add(m_jContEntries, java.awt.BorderLayout.LINE_END);

    jPanel12.setBackground(new java.awt.Color(222, 232, 231));
    jPanel12.setFocusable(false);
    jPanel12.setPreferredSize(new java.awt.Dimension(600, 5));
    jPanel12.setRequestFocusEnabled(false);
    jPanel12.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jLayeredPane1.setPreferredSize(new java.awt.Dimension(300, 402));
    jPanel12.add(jLayeredPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, -500, 989, 509));

    m_jPanTicket.add(jPanel12, java.awt.BorderLayout.PAGE_END);

    m_jPanContainer.add(m_jPanTicket, java.awt.BorderLayout.CENTER);

    jPanel4.setBackground(new java.awt.Color(222, 232, 231));
    jPanel4.setPreferredSize(new java.awt.Dimension(1024, 210));
    jPanel4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jPanel7.setBorder(
            javax.swing.BorderFactory.createMatteBorder(0, 1, 1, 1, new java.awt.Color(204, 204, 204)));
    jPanel7.setMaximumSize(new java.awt.Dimension(700, 158));
    jPanel7.setPreferredSize(new java.awt.Dimension(320, 158));

    jLabel7.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    jLabel7.setText("TOTAL PAID");

    jLabel8.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    jLabel8.setText("CHANGE");

    m_jTxtTotalPaid.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    m_jTxtTotalPaid.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jTxtTotalPaid.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTxtTotalPaid.setFocusable(false);
    m_jTxtTotalPaid.setOpaque(true);
    m_jTxtTotalPaid.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jTxtTotalPaid.setRequestFocusEnabled(false);

    m_jTxtChange.setFont(new java.awt.Font("Tahoma", 1, 16)); // NOI18N
    m_jTxtChange.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jTxtChange.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTxtChange.setFocusable(false);
    m_jTxtChange.setOpaque(true);
    m_jTxtChange.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jTxtChange.setRequestFocusEnabled(false);

    jPanel3.setPreferredSize(new java.awt.Dimension(228, 100));

    m_jTax.setFocusable(false);
    m_jTax.setRequestFocusEnabled(false);

    m_jPor.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jPor.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jPor.setFocusable(false);
    m_jPor.setOpaque(true);
    m_jPor.setPreferredSize(new java.awt.Dimension(22, 22));
    m_jPor.setRequestFocusEnabled(false);

    m_jaddtax.setText("+");
    m_jaddtax.setFocusPainted(false);
    m_jaddtax.setFocusable(false);
    m_jaddtax.setRequestFocusEnabled(false);

    jLblPrinterStatus.setForeground(new java.awt.Color(255, 0, 0));

    m_jKeyFactory.setBackground(javax.swing.UIManager.getDefaults().getColor("Panel.background"));
    m_jKeyFactory.setForeground(javax.swing.UIManager.getDefaults().getColor("Panel.background"));
    m_jKeyFactory.setBorder(null);
    m_jKeyFactory.setCaretColor(javax.swing.UIManager.getDefaults().getColor("Panel.background"));
    m_jKeyFactory.setPreferredSize(new java.awt.Dimension(4, 4));
    m_jKeyFactory.setRequestFocusEnabled(false);
    m_jKeyFactory.addKeyListener(new java.awt.event.KeyAdapter() {
        public void keyTyped(java.awt.event.KeyEvent evt) {
            m_jKeyFactoryKeyTyped(evt);
        }
    });

    org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
    jPanel3.setLayout(jPanel3Layout);
    jPanel3Layout.setHorizontalGroup(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel3Layout.createSequentialGroup()
                    .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanel3Layout.createSequentialGroup().addContainerGap()
                                    .add(m_jKeyFactory, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 239,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(65, 65, 65).add(jLblPrinterStatus,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 68,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jPanel3Layout.createSequentialGroup().add(20, 20, 20)
                                    .add(m_jaddtax, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 46,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(m_jPor,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 12,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jPanel3Layout.createSequentialGroup().addContainerGap().add(m_jTax,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 106,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    jPanel3Layout.setVerticalGroup(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel3Layout.createSequentialGroup()
                    .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanel3Layout.createSequentialGroup().add(6, 6, 6).add(jLblPrinterStatus,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 17,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(m_jKeyFactory, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 11,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(m_jTax, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(21, 21, 21)
                    .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                            .add(m_jPor, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 8,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(m_jaddtax, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 14,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));

    org.jdesktop.layout.GroupLayout jPanel7Layout = new org.jdesktop.layout.GroupLayout(jPanel7);
    jPanel7.setLayout(jPanel7Layout);
    jPanel7Layout.setHorizontalGroup(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(jPanel7Layout.createSequentialGroup().add(10, 10, 10)
                    .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                            .add(jPanel7Layout.createSequentialGroup()
                                    .add(jLabel7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 126,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(3, 3, 3)
                                    .add(m_jTxtTotalPaid, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 120,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(jPanel7Layout.createSequentialGroup()
                                    .add(jLabel8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 110,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(19, 19, 19).add(m_jTxtChange,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 120,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))))
            .add(org.jdesktop.layout.GroupLayout.TRAILING,
                    jPanel7Layout.createSequentialGroup()
                            .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 392,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap()));
    jPanel7Layout
            .setVerticalGroup(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(jPanel7Layout.createSequentialGroup()
                            .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 89,
                                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .add(270, 270, 270)
                            .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLabel7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(m_jTxtTotalPaid, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                            .add(10, 10, 10)
                            .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                    .add(jLabel8, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                                    .add(m_jTxtChange, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 35,
                                            org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))));

    jPanel4.add(jPanel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(1325, 1, 170, 160));

    jPanel8.setBackground(new java.awt.Color(255, 255, 255));
    jPanel8.setBorder(
            javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(204, 204, 204)));
    jPanel8.setPreferredSize(new java.awt.Dimension(1551, 193));
    jPanel8.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    jLabel2.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
    jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    jLabel2.setText("Bill Details");
    jPanel8.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(15, 12, 188, -1));

    m_jSubtotalEuros1.setBackground(new java.awt.Color(255, 255, 255));
    m_jSubtotalEuros1.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
    m_jSubtotalEuros1.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jSubtotalEuros1.setFocusable(false);
    m_jSubtotalEuros1.setOpaque(true);
    m_jSubtotalEuros1.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jSubtotalEuros1.setRequestFocusEnabled(false);
    jPanel8.add(m_jSubtotalEuros1, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 40, 80, 23));

    m_jLblTotalEuros4.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    m_jLblTotalEuros4.setText("SUB TOTAL");
    jPanel8.add(m_jLblTotalEuros4, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 37, 94, 23));

    m_jTaxesEuros1.setBackground(new java.awt.Color(255, 255, 255));
    m_jTaxesEuros1.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
    m_jTaxesEuros1.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTaxesEuros1.setFocusable(false);
    m_jTaxesEuros1.setOpaque(true);
    m_jTaxesEuros1.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jTaxesEuros1.setRequestFocusEnabled(false);
    jPanel8.add(m_jTaxesEuros1, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 70, 80, 23));

    m_jLblTotalEuros5.setBackground(new java.awt.Color(255, 255, 255));
    m_jLblTotalEuros5.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    m_jLblTotalEuros5.setText("TAXES");
    jPanel8.add(m_jLblTotalEuros5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 70, 60, 23));

    jLabel5.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel5.setText("DISCOUNT");
    jPanel8.add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 100, 80, 23));

    m_jLblTotalEuros6.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    m_jLblTotalEuros6.setText("TOTAL SALES");
    jPanel8.add(m_jLblTotalEuros6, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 160, 80, 20));

    m_jDiscount1.setBackground(new java.awt.Color(255, 255, 255));
    m_jDiscount1.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
    m_jDiscount1.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jDiscount1.setFocusable(false);
    m_jDiscount1.setOpaque(true);
    m_jDiscount1.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jDiscount1.setRequestFocusEnabled(false);
    jPanel8.add(m_jDiscount1, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 100, 80, 23));

    m_jTotalEuros.setBackground(new java.awt.Color(255, 255, 255));
    m_jTotalEuros.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jTotalEuros.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jTotalEuros.setFocusable(false);
    m_jTotalEuros.setOpaque(true);
    m_jTotalEuros.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jTotalEuros.setRequestFocusEnabled(false);
    jPanel8.add(m_jTotalEuros, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 160, 80, 23));

    jTaxPanel.setBackground(new java.awt.Color(255, 255, 255));
    jTaxPanel.setPreferredSize(new java.awt.Dimension(202, 157));
    jTaxPanel.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

    m_jServiceTaxLbl.setText("SERVICE TAX");
    jTaxPanel.add(m_jServiceTaxLbl, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 40, 100, 23));

    m_jServiceTax.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    jTaxPanel.add(m_jServiceTax, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 40, 73, 23));

    jLabel4.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
    jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    jLabel4.setText("Tax Breakup");
    jTaxPanel.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 11, 194, -1));

    jScrollPane1.setBorder(null);
    jScrollPane1.setViewportView(m_jTaxList);

    jTaxPanel.add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 37, 200, 140));

    m_jSwachBharatLbl.setText("SWACHH BHARAT TAX");
    jTaxPanel.add(m_jSwachBharatLbl, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 70, 130, 20));

    m_jSwachBharat.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    jTaxPanel.add(m_jSwachBharat, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 70, 70, 20));

    jPanel8.add(jTaxPanel, new org.netbeans.lib.awtextra.AbsoluteConstraints(221, 1, -1, 178));

    jLabel6.setText("PROMO DISCOUNT");
    jPanel8.add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 130, 120, 20));

    m_jPromoDiscount.setBackground(new java.awt.Color(255, 255, 255));
    m_jPromoDiscount.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    m_jPromoDiscount.setBorder(javax.swing.BorderFactory.createCompoundBorder(
            javax.swing.BorderFactory
                    .createLineBorder(javax.swing.UIManager.getDefaults().getColor("Button.darkShadow")),
            javax.swing.BorderFactory.createEmptyBorder(1, 4, 1, 4)));
    m_jPromoDiscount.setFocusable(false);
    m_jPromoDiscount.setOpaque(true);
    m_jPromoDiscount.setPreferredSize(new java.awt.Dimension(123, 25));
    m_jPromoDiscount.setRequestFocusEnabled(false);
    jPanel8.add(m_jPromoDiscount, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 130, 80, 23));

    jPanel4.add(jPanel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(7, 1, 434, -1));

    m_jProducts.setBackground(new java.awt.Color(255, 255, 255));
    m_jProducts.setLayout(new java.awt.CardLayout());
    jPanel4.add(m_jProducts, new org.netbeans.lib.awtextra.AbsoluteConstraints(447, 1, 551, 190));

    m_jPanContainer.add(jPanel4, java.awt.BorderLayout.SOUTH);

    add(m_jPanContainer, "ticket");
}