/** * 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. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { pnlfooter = new javax.swing.JPanel(); xFormPanel1 = new com.rameses.rcp.control.XFormPanel(); jScrollPane1 = new javax.swing.JScrollPane(); xTextArea1 = new com.rameses.rcp.control.XTextArea(); setLayout(new java.awt.BorderLayout()); pnlfooter.setPreferredSize(new java.awt.Dimension(400, 100)); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Reason/remarks for modification"); xFormPanel1.setBorder(xTitledBorder1); jScrollPane1.setPreferredSize(new java.awt.Dimension(0, 63)); xTextArea1.setCaption("Reason"); xTextArea1.setName("info.reason"); // NOI18N xTextArea1.setRequired(true); xTextArea1.setShowCaption(false); jScrollPane1.setViewportView(xTextArea1); xFormPanel1.add(jScrollPane1); javax.swing.GroupLayout pnlfooterLayout = new javax.swing.GroupLayout(pnlfooter); pnlfooter.setLayout(pnlfooterLayout); pnlfooterLayout.setHorizontalGroup( pnlfooterLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( pnlfooterLayout .createSequentialGroup() .addContainerGap() .addComponent( xFormPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE) .addContainerGap())); pnlfooterLayout.setVerticalGroup( pnlfooterLayout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( pnlfooterLayout .createSequentialGroup() .addComponent( xFormPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addContainerGap())); add(pnlfooter, java.awt.BorderLayout.PAGE_END); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { jSplitPane1 = new javax.swing.JSplitPane(); jPanel1 = new javax.swing.JPanel(); jPanel3 = new javax.swing.JPanel(); xActionTextField1 = new com.rameses.rcp.control.XActionTextField(); xDataTable1 = new com.rameses.rcp.control.XDataTable(); jPanel2 = new javax.swing.JPanel(); xActionBar1 = new com.rameses.rcp.control.XActionBar(); jPanel4 = new javax.swing.JPanel(); formPanel1 = new com.rameses.rcp.util.FormPanel(); xTextField1 = new com.rameses.rcp.control.XTextField(); jScrollPane1 = new javax.swing.JScrollPane(); xTextArea1 = new com.rameses.rcp.control.XTextArea(); setLayout(new java.awt.BorderLayout()); setPreferredSize(new java.awt.Dimension(748, 396)); jSplitPane1.setDividerLocation(400); jPanel1.setLayout(new java.awt.BorderLayout()); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Listing"); jPanel1.setBorder(xTitledBorder1); jPanel3.setLayout(new java.awt.BorderLayout()); jPanel3.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 1, 3, 5)); xActionTextField1.setActionName("search"); xActionTextField1.setCaptionMnemonic('h'); xActionTextField1.setHint("Search"); xActionTextField1.setIndex(-1); xActionTextField1.setName("searchText"); xActionTextField1.setPreferredSize(new java.awt.Dimension(200, 19)); jPanel3.add(xActionTextField1, java.awt.BorderLayout.WEST); jPanel1.add(jPanel3, java.awt.BorderLayout.NORTH); xDataTable1.setHandler("listHandler"); xDataTable1.setImmediate(true); xDataTable1.setName("selectedItem"); jPanel1.add(xDataTable1, java.awt.BorderLayout.CENTER); jSplitPane1.setLeftComponent(jPanel1); jPanel2.setLayout(new java.awt.BorderLayout()); com.rameses.rcp.control.border.XTitledBorder xTitledBorder2 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder2.setTitle("Document"); jPanel2.setBorder(xTitledBorder2); xActionBar1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 5, 0, 0)); xActionBar1.setDepends(new String[] {"selectedItem"}); xActionBar1.setName("formActions"); jPanel2.add(xActionBar1, java.awt.BorderLayout.NORTH); jPanel4.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 5, 5, 5)); com.rameses.rcp.control.border.XTitledBorder xTitledBorder3 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder3.setTitle("Line of Business Classification"); formPanel1.setBorder(xTitledBorder3); formPanel1.setCaptionWidth(85); xTextField1.setCaption("Classification"); xTextField1.setCaptionWidth(100); xTextField1.setDepends(new String[] {"selectedItem"}); xTextField1.setName("entity.name"); xTextField1.setPreferredSize(new java.awt.Dimension(0, 19)); xTextField1.setRequired(true); formPanel1.add(xTextField1); jScrollPane1.setPreferredSize(new java.awt.Dimension(0, 76)); xTextArea1.setColumns(20); xTextArea1.setRows(5); xTextArea1.setCaption("Remarks"); xTextArea1.setCaptionWidth(100); xTextArea1.setName("entity.remarks"); xTextArea1.setPreferredSize(new java.awt.Dimension(0, 74)); jScrollPane1.setViewportView(xTextArea1); formPanel1.add(jScrollPane1); org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup( jPanel4Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( jPanel4Layout .createSequentialGroup() .add( formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 406, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(27, Short.MAX_VALUE))); jPanel4Layout.setVerticalGroup( jPanel4Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( jPanel4Layout .createSequentialGroup() .add( formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 159, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(190, Short.MAX_VALUE))); jPanel2.add(jPanel4, java.awt.BorderLayout.CENTER); jSplitPane1.setRightComponent(jPanel2); add(jSplitPane1, java.awt.BorderLayout.CENTER); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { formPanel1 = new com.rameses.rcp.util.FormPanel(); xNumberField1 = new com.rameses.rcp.control.XNumberField(); xComboBox1 = new com.rameses.rcp.control.XComboBox(); xComboBox2 = new com.rameses.rcp.control.XComboBox(); xComboBox3 = new com.rameses.rcp.control.XComboBox(); xLookupField1 = new com.rameses.rcp.control.XLookupField(); xActionBar1 = new com.rameses.rcp.control.XActionBar(); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Initial Information"); formPanel1.setBorder(xTitledBorder1); xNumberField1.setCaption("Year"); xNumberField1.setCaptionWidth(100); xNumberField1.setCellPadding(new java.awt.Insets(10, 10, 0, 0)); xNumberField1.setFieldType(Integer.class); xNumberField1.setName("year"); xNumberField1.setPreferredSize(new java.awt.Dimension(100, 19)); xNumberField1.setRequired(true); formPanel1.add(xNumberField1); xComboBox1.setAllowNull(false); xComboBox1.setCaption("State"); xComboBox1.setCaptionWidth(100); xComboBox1.setCellPadding(new java.awt.Insets(0, 10, 0, 0)); xComboBox1.setItems("statelist"); xComboBox1.setName("docstate"); xComboBox1.setPreferredSize(new java.awt.Dimension(0, 22)); xComboBox1.setRequired(true); formPanel1.add(xComboBox1); xComboBox2.setCaption("Barangay"); xComboBox2.setCaptionWidth(100); xComboBox2.setCellPadding(new java.awt.Insets(0, 10, 0, 0)); xComboBox2.setExpression("#{barangayname}"); xComboBox2.setItems("barangaylist"); xComboBox2.setName("barangay"); xComboBox2.setPreferredSize(new java.awt.Dimension(0, 22)); formPanel1.add(xComboBox2); xComboBox3.setCaption("Classification"); xComboBox3.setCaptionWidth(100); xComboBox3.setCellPadding(new java.awt.Insets(0, 10, 0, 0)); xComboBox3.setExpression("#{classification}"); xComboBox3.setItems("classificationlist"); xComboBox3.setName("classification"); xComboBox3.setPreferredSize(new java.awt.Dimension(0, 22)); formPanel1.add(xComboBox3); xLookupField1.setCaption("Line of Business"); xLookupField1.setCaptionWidth(100); xLookupField1.setCellPadding(new java.awt.Insets(0, 10, 0, 0)); xLookupField1.setExpression("#{name}"); xLookupField1.setHandler("lookupLob"); xLookupField1.setName("lob"); xLookupField1.setPreferredSize(new java.awt.Dimension(0, 19)); formPanel1.add(xLookupField1); xActionBar1.setBorder(new com.rameses.rcp.control.border.XUnderlineBorder()); xActionBar1.setName("formActions"); xActionBar1.setPadding(new java.awt.Insets(0, 5, 0, 0)); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(xActionBar1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 443, Short.MAX_VALUE) .add( layout .createSequentialGroup() .add(10, 10, 10) .add( formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 409, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap())); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .add( xActionBar1, 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( formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 201, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(71, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { xActionBar1 = new com.rameses.rcp.control.XActionBar(); formPanel1 = new com.rameses.rcp.util.FormPanel(); xRadio1 = new com.rameses.rcp.control.XRadio(); xComboBox5 = new com.rameses.rcp.control.XComboBox(); xComboBox1 = new com.rameses.rcp.control.XComboBox(); xRadio2 = new com.rameses.rcp.control.XRadio(); xTextField1 = new com.rameses.rcp.control.XTextField(); xTextField2 = new com.rameses.rcp.control.XTextField(); xLabel1 = new com.rameses.rcp.control.XLabel(); setPreferredSize(new java.awt.Dimension(603, 291)); xActionBar1.setBorder(new com.rameses.rcp.control.border.XUnderlineBorder()); xActionBar1.setName("formActions"); xActionBar1.setPadding(new java.awt.Insets(0, 5, 0, 0)); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Billing Options"); formPanel1.setBorder(xTitledBorder1); formPanel1.setCaptionWidth(120); formPanel1.setPadding(new java.awt.Insets(5, 10, 5, 25)); xRadio1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); xRadio1.setText(" By Barangay"); xRadio1.setMargin(new java.awt.Insets(0, 0, 0, 0)); xRadio1.setName("batchoption"); xRadio1.setOptionValue("bybarangay"); xRadio1.setShowCaption(false); formPanel1.add(xRadio1); xComboBox5.setAllowNull(false); xComboBox5.setCaption("Municipality/District"); xComboBox5.setCellPadding(new java.awt.Insets(0, 30, 0, 0)); xComboBox5.setDepends(new String[] {"batchoption"}); xComboBox5.setExpression("#{lguname}"); xComboBox5.setIndex(-100); xComboBox5.setItems("lgus"); xComboBox5.setName("lgu"); xComboBox5.setPreferredSize(new java.awt.Dimension(0, 21)); formPanel1.add(xComboBox5); xComboBox1.setCaption("Barangay"); xComboBox1.setCellPadding(new java.awt.Insets(0, 30, 0, 0)); xComboBox1.setDepends(new String[] {"batchoption"}); xComboBox1.setDynamic(true); xComboBox1.setExpression("#{lguname}"); xComboBox1.setItems("barangays"); xComboBox1.setName("barangay"); xComboBox1.setPreferredSize(new java.awt.Dimension(0, 21)); formPanel1.add(xComboBox1); xRadio2.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); xRadio2.setText("By TD No"); xRadio2.setMargin(new java.awt.Insets(0, 0, 0, 0)); xRadio2.setName("batchoption"); xRadio2.setOptionValue("bytd"); xRadio2.setShowCaption(false); formPanel1.add(xRadio2); xTextField1.setCaption("From"); xTextField1.setCellPadding(new java.awt.Insets(0, 30, 0, 0)); xTextField1.setDepends(new String[] {"batchoption"}); xTextField1.setName("fromtdno"); xTextField1.setPreferredSize(new java.awt.Dimension(0, 20)); formPanel1.add(xTextField1); xTextField2.setCaption("To"); xTextField2.setCellPadding(new java.awt.Insets(0, 30, 0, 0)); xTextField2.setDepends(new String[] {"batchoption"}); xTextField2.setName("totdno"); xTextField2.setPreferredSize(new java.awt.Dimension(0, 20)); formPanel1.add(xTextField2); xLabel1.setForeground(new java.awt.Color(153, 0, 0)); xLabel1.setFont(new java.awt.Font("Arial", 1, 11)); xLabel1.setName("msg"); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( org.jdesktop.layout.GroupLayout.TRAILING, xActionBar1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 603, Short.MAX_VALUE) .add( layout .createSequentialGroup() .addContainerGap() .add( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add( org.jdesktop.layout.GroupLayout.LEADING, xLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add( org.jdesktop.layout.GroupLayout.LEADING, formPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 406, Short.MAX_VALUE)) .addContainerGap())); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .add( xActionBar1, 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( formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 187, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add( xLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(54, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { jPanel1 = new javax.swing.JPanel(); xFormPanel1 = new com.rameses.rcp.control.XFormPanel(); xTextField1 = new com.rameses.rcp.control.XTextField(); xTextField2 = new com.rameses.rcp.control.XTextField(); xTextField3 = new com.rameses.rcp.control.XTextField(); xFormPanel3 = new com.rameses.rcp.control.XFormPanel(); xTextField5 = new com.rameses.rcp.control.XTextField(); xTextField6 = new com.rameses.rcp.control.XTextField(); xTextField7 = new com.rameses.rcp.control.XTextField(); xFormPanel2 = new com.rameses.rcp.control.XFormPanel(); xTextField10 = new com.rameses.rcp.control.XTextField(); xTextField4 = new com.rameses.rcp.control.XTextField(); xTextField8 = new com.rameses.rcp.control.XTextField(); xTextField9 = new com.rameses.rcp.control.XTextField(); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setPadding(new java.awt.Insets(25, 0, 0, 0)); xTitledBorder1.setTitle("Barangay Information"); jPanel1.setBorder(xTitledBorder1); xFormPanel1.setCaptionWidth(120); xFormPanel1.setIndex(1); xTextField1.setCaption("Captain Name"); xTextField1.setIndex(10); xTextField1.setName("entity.captain.name"); xTextField1.setPreferredSize(new java.awt.Dimension(0, 19)); xTextField1.setRequired(true); xFormPanel1.add(xTextField1); xTextField2.setCaption("Captain Title"); xTextField2.setIndex(11); xTextField2.setName("entity.captain.title"); xTextField2.setPreferredSize(new java.awt.Dimension(0, 19)); xFormPanel1.add(xTextField2); xTextField3.setCaption("Captain Office"); xTextField3.setIndex(12); xTextField3.setName("entity.captain.office"); xTextField3.setPreferredSize(new java.awt.Dimension(0, 19)); xFormPanel1.add(xTextField3); xFormPanel3.setCaptionWidth(120); xFormPanel3.setIndex(2); xTextField5.setCaption("Treasurer Name"); xTextField5.setIndex(13); xTextField5.setName("entity.treasurer.name"); xTextField5.setNullWhenEmpty(false); xTextField5.setPreferredSize(new java.awt.Dimension(0, 19)); xTextField5.setRequired(true); xFormPanel3.add(xTextField5); xTextField6.setCaption("Treasurer Title"); xTextField6.setIndex(14); xTextField6.setName("entity.treasurer.title"); xTextField6.setPreferredSize(new java.awt.Dimension(0, 19)); xFormPanel3.add(xTextField6); xTextField7.setCaption("Treasurer Office"); xTextField7.setIndex(15); xTextField7.setName("entity.treasurer.office"); xTextField7.setPreferredSize(new java.awt.Dimension(0, 19)); xFormPanel3.add(xTextField7); xFormPanel2.setCaptionWidth(120); xFormPanel2.setIndex(1); xTextField10.setCaption("Barangay Code"); xTextField10.setName("entity.code"); xTextField10.setPreferredSize(new java.awt.Dimension(0, 19)); xTextField10.setRequired(true); xTextField10.setSpaceChar('_'); xFormPanel2.add(xTextField10); xTextField4.setCaption("Barangay Name"); xTextField4.setIndex(10); xTextField4.setName("entity.name"); xTextField4.setPreferredSize(new java.awt.Dimension(0, 19)); xTextField4.setRequired(true); xFormPanel2.add(xTextField4); xTextField8.setCaption("Index No"); xTextField8.setIndex(11); xTextField8.setName("entity.indexno"); xTextField8.setPreferredSize(new java.awt.Dimension(0, 19)); xTextField8.setRequired(true); xFormPanel2.add(xTextField8); xTextField9.setCaption("PIN"); xTextField9.setIndex(12); xTextField9.setName("entity.pin"); xTextField9.setPreferredSize(new java.awt.Dimension(0, 19)); xTextField9.setRequired(true); xFormPanel2.add(xTextField9); org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( jPanel1Layout .createSequentialGroup() .addContainerGap() .add( jPanel1Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( org.jdesktop.layout.GroupLayout.TRAILING, xFormPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 441, Short.MAX_VALUE) .add( org.jdesktop.layout.GroupLayout.TRAILING, xFormPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 441, Short.MAX_VALUE) .add( xFormPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 441, Short.MAX_VALUE)) .addContainerGap())); jPanel1Layout.setVerticalGroup( jPanel1Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( jPanel1Layout .createSequentialGroup() .add( xFormPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 90, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add( xFormPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 69, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add( xFormPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(24, 24, 24))); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { jPanel1 = new javax.swing.JPanel(); jPanel2 = new javax.swing.JPanel(); jPanel4 = new javax.swing.JPanel(); xDataTable1 = new com.rameses.rcp.control.XDataTable(); jPanel5 = new javax.swing.JPanel(); xDataTable2 = new com.rameses.rcp.control.XDataTable(); formPanel1 = new com.rameses.rcp.util.FormPanel(); xLabel1 = new com.rameses.rcp.control.XLabel(); xLabel2 = new com.rameses.rcp.control.XLabel(); xLabel3 = new com.rameses.rcp.control.XLabel(); setLayout(new java.awt.BorderLayout()); setPreferredSize(new java.awt.Dimension(704, 444)); jPanel1.setLayout(new java.awt.BorderLayout()); jPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5)); jPanel2.setLayout(new java.awt.BorderLayout()); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Liquidation Detail"); jPanel2.setBorder(xTitledBorder1); jPanel4.setLayout(new java.awt.BorderLayout()); com.rameses.rcp.control.border.XTitledBorder xTitledBorder2 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder2.setTitle("List of Remittances"); jPanel4.setBorder(xTitledBorder2); xDataTable1.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5)); xDataTable1.setDepends(new String[] {"year", "month"}); xDataTable1.setHandler("remittanceListHandler"); xDataTable1.setImmediate(true); xDataTable1.setName("selectedRemittance"); xDataTable1.setPreferredSize(new java.awt.Dimension(200, 150)); jPanel4.add(xDataTable1, java.awt.BorderLayout.NORTH); jPanel5.setLayout(new java.awt.BorderLayout()); jPanel5.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5)); com.rameses.rcp.control.border.XTitledBorder xTitledBorder3 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder3.setTitle("Receipt Summary"); xDataTable2.setBorder(xTitledBorder3); xDataTable2.setDepends(new String[] {"selectedRemittance"}); xDataTable2.setHandler("receiptListHandler"); jPanel5.add(xDataTable2, java.awt.BorderLayout.CENTER); jPanel4.add(jPanel5, java.awt.BorderLayout.CENTER); jPanel2.add(jPanel4, java.awt.BorderLayout.CENTER); formPanel1.setCaptionBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)); formPanel1.setCaptionVAlignment(com.rameses.rcp.constant.UIConstants.CENTER); formPanel1.setPadding(new java.awt.Insets(5, 5, 10, 5)); xLabel1.setBorder( javax.swing.BorderFactory.createLineBorder(new java.awt.Color(153, 153, 153))); xLabel1.setCaption("Liquidation No."); xLabel1.setCaptionWidth(110); xLabel1.setFont(new java.awt.Font("Arial", 1, 11)); xLabel1.setName("liquidation.info.txnno"); xLabel1.setPreferredSize(new java.awt.Dimension(250, 20)); formPanel1.add(xLabel1); xLabel2.setBorder( javax.swing.BorderFactory.createLineBorder(new java.awt.Color(153, 153, 153))); xLabel2.setCaption("Liquidation Date"); xLabel2.setCaptionWidth(110); xLabel2.setFont(new java.awt.Font("Arial", 1, 11)); xLabel2.setName("liquidation.info.txndate"); xLabel2.setPreferredSize(new java.awt.Dimension(250, 20)); formPanel1.add(xLabel2); xLabel3.setBorder( javax.swing.BorderFactory.createLineBorder(new java.awt.Color(153, 153, 153))); xLabel3.setCaption("Liquidating Officer"); xLabel3.setCaptionWidth(110); xLabel3.setFont(new java.awt.Font("Arial", 1, 11)); xLabel3.setName("liquidation.info.liquidatingofficername"); xLabel3.setPreferredSize(new java.awt.Dimension(250, 20)); formPanel1.add(xLabel3); jPanel2.add(formPanel1, java.awt.BorderLayout.NORTH); jPanel1.add(jPanel2, java.awt.BorderLayout.CENTER); add(jPanel1, java.awt.BorderLayout.CENTER); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { xFormPanel1 = new com.rameses.rcp.control.XFormPanel(); xLabel1 = new com.rameses.rcp.control.XLabel(); xLabel2 = new com.rameses.rcp.control.XLabel(); xLabel3 = new com.rameses.rcp.control.XLabel(); xLabel4 = new com.rameses.rcp.control.XLabel(); jPanel1 = new javax.swing.JPanel(); xFormPanel2 = new com.rameses.rcp.control.XFormPanel(); xDateField1 = new com.rameses.rcp.control.XDateField(); xLabel5 = new com.rameses.rcp.control.XLabel(); xDecimalField7 = new com.rameses.rcp.control.XDecimalField(); xDecimalField5 = new com.rameses.rcp.control.XDecimalField(); xFormPanel3 = new com.rameses.rcp.control.XFormPanel(); xDecimalField1 = new com.rameses.rcp.control.XDecimalField(); xDecimalField2 = new com.rameses.rcp.control.XDecimalField(); xDecimalField3 = new com.rameses.rcp.control.XDecimalField(); xDecimalField4 = new com.rameses.rcp.control.XDecimalField(); xFormPanel4 = new com.rameses.rcp.control.XFormPanel(); xLabel6 = new com.rameses.rcp.control.XLabel(); xDateField2 = new com.rameses.rcp.control.XDateField(); xDecimalField6 = new com.rameses.rcp.control.XDecimalField(); xTextField1 = new com.rameses.rcp.control.XTextField(); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Borrower Information"); xFormPanel1.setBorder(xTitledBorder1); com.rameses.rcp.control.border.XLineBorder xLineBorder1 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder1.setLineColor(new java.awt.Color(180, 180, 180)); xLabel1.setBorder(xLineBorder1); xLabel1.setCaption("App. No."); xLabel1.setExpression("#{entity.loanapp.appno}"); xLabel1.setPreferredSize(new java.awt.Dimension(150, 20)); xFormPanel1.add(xLabel1); com.rameses.rcp.control.border.XLineBorder xLineBorder2 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder2.setLineColor(new java.awt.Color(180, 180, 180)); xLabel2.setBorder(xLineBorder2); xLabel2.setCaption("Borrower"); xLabel2.setExpression("#{entity.borrower.name}"); xLabel2.setPreferredSize(new java.awt.Dimension(0, 20)); xFormPanel1.add(xLabel2); com.rameses.rcp.control.border.XLineBorder xLineBorder3 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder3.setLineColor(new java.awt.Color(180, 180, 180)); xLabel3.setBorder(xLineBorder3); xLabel3.setCaption("Address"); xLabel3.setExpression("#{entity.borrower.address}"); xLabel3.setPreferredSize(new java.awt.Dimension(0, 20)); xFormPanel1.add(xLabel3); com.rameses.rcp.control.border.XLineBorder xLineBorder4 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder4.setLineColor(new java.awt.Color(180, 180, 180)); xLabel4.setBorder(xLineBorder4); xLabel4.setCaption("Route"); xLabel4.setExpression("#{entity.route.description} - #{entity.route.area}"); xLabel4.setPreferredSize(new java.awt.Dimension(0, 20)); xFormPanel1.add(xLabel4); com.rameses.rcp.control.border.XTitledBorder xTitledBorder2 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder2.setTitle("Ledger Information"); jPanel1.setBorder(xTitledBorder2); xDateField1.setCaption("Maturity Date"); xDateField1.setCaptionWidth(95); xDateField1.setDisabledTextColor(new java.awt.Color(0, 0, 0)); xDateField1.setEnabled(false); xDateField1.setName("bill.dtmatured"); xDateField1.setOutputFormat("MMM-dd-yyyy"); xDateField1.setPreferredSize(new java.awt.Dimension(0, 20)); xDateField1.setReadonly(true); xFormPanel2.add(xDateField1); com.rameses.rcp.control.border.XLineBorder xLineBorder5 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder5.setLineColor(new java.awt.Color(180, 180, 180)); xLabel5.setBorder(xLineBorder5); xLabel5.setCaption("Term"); xLabel5.setCaptionWidth(95); xLabel5.setExpression("#{bill.term}"); xLabel5.setPreferredSize(new java.awt.Dimension(0, 20)); xFormPanel2.add(xLabel5); xDecimalField7.setCaption("Payment Sched."); xDecimalField7.setCaptionWidth(95); xDecimalField7.setDisabledTextColor(new java.awt.Color(0, 0, 0)); xDecimalField7.setEnabled(false); xDecimalField7.setName("bill.dailydue"); xDecimalField7.setPreferredSize(new java.awt.Dimension(0, 20)); xFormPanel2.add(xDecimalField7); xDecimalField5.setCaption("Balance"); xDecimalField5.setCaptionWidth(95); xDecimalField5.setDisabledTextColor(new java.awt.Color(0, 0, 0)); xDecimalField5.setEnabled(false); xDecimalField5.setName("bill.balance"); xDecimalField5.setPreferredSize(new java.awt.Dimension(0, 20)); xDecimalField5.setReadonly(true); xFormPanel2.add(xDecimalField5); xDecimalField1.setCaption("Interest"); xDecimalField1.setCaptionWidth(100); xDecimalField1.setDisabledTextColor(new java.awt.Color(0, 0, 0)); xDecimalField1.setEnabled(false); xDecimalField1.setName("bill.interest"); xDecimalField1.setPreferredSize(new java.awt.Dimension(0, 20)); xDecimalField1.setReadonly(true); xFormPanel3.add(xDecimalField1); xDecimalField2.setCaption("Overpayment"); xDecimalField2.setCaptionWidth(100); xDecimalField2.setDisabledTextColor(new java.awt.Color(0, 0, 0)); xDecimalField2.setEnabled(false); xDecimalField2.setName("bill.overpayment"); xDecimalField2.setPreferredSize(new java.awt.Dimension(0, 20)); xDecimalField2.setReadonly(true); xFormPanel3.add(xDecimalField2); xDecimalField3.setCaption("Overdue Penalty"); xDecimalField3.setCaptionWidth(100); xDecimalField3.setDisabledTextColor(new java.awt.Color(0, 0, 0)); xDecimalField3.setEnabled(false); xDecimalField3.setName("bill.overduepenalty"); xDecimalField3.setPreferredSize(new java.awt.Dimension(0, 20)); xDecimalField3.setReadonly(true); xFormPanel3.add(xDecimalField3); xDecimalField4.setCaption("Amount Due"); xDecimalField4.setCaptionWidth(100); xDecimalField4.setDisabledTextColor(new java.awt.Color(0, 0, 0)); xDecimalField4.setEnabled(false); xDecimalField4.setName("bill.amountdue"); xDecimalField4.setPreferredSize(new java.awt.Dimension(0, 20)); xDecimalField4.setReadonly(true); xFormPanel3.add(xDecimalField4); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( jPanel1Layout .createSequentialGroup() .addComponent( xFormPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 236, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent( xFormPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, 237, Short.MAX_VALUE) .addContainerGap())); jPanel1Layout.setVerticalGroup( jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout .createSequentialGroup() .addGroup( jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent( xFormPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, 91, Short.MAX_VALUE) .addComponent( xFormPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, 91, Short.MAX_VALUE)) .addContainerGap())); com.rameses.rcp.control.border.XTitledBorder xTitledBorder3 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder3.setTitle("Payment Information"); xFormPanel4.setBorder(xTitledBorder3); com.rameses.rcp.control.border.XLineBorder xLineBorder6 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder6.setLineColor(new java.awt.Color(180, 180, 180)); xLabel6.setBorder(xLineBorder6); xLabel6.setCaption("Ref. No."); xLabel6.setExpression("#{entity.refno}"); xLabel6.setPreferredSize(new java.awt.Dimension(150, 20)); xFormPanel4.add(xLabel6); xDateField2.setCaption("Txndate"); xDateField2.setDisabledTextColor(new java.awt.Color(0, 0, 0)); xDateField2.setEnabled(false); xDateField2.setName("entity.txndate"); xDateField2.setOutputFormat("MMM-dd-yyyy"); xDateField2.setPreferredSize(new java.awt.Dimension(150, 20)); xDateField2.setReadonly(true); xFormPanel4.add(xDateField2); xDecimalField6.setCaption("Amount"); xDecimalField6.setName("entity.amount"); xDecimalField6.setPreferredSize(new java.awt.Dimension(150, 20)); xDecimalField6.setRequired(true); xFormPanel4.add(xDecimalField6); xTextField1.setCaption("Paid By"); xTextField1.setName("entity.paidby"); xTextField1.setPreferredSize(new java.awt.Dimension(270, 20)); xTextField1.setRequired(true); xFormPanel4.add(xTextField1); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( layout .createSequentialGroup() .addContainerGap() .addGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent( xFormPanel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent( xFormPanel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 493, Short.MAX_VALUE) .addComponent( jPanel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap(33, Short.MAX_VALUE))); layout.setVerticalGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( layout .createSequentialGroup() .addContainerGap() .addComponent( xFormPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent( jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent( xFormPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { xFormPanel2 = new com.rameses.rcp.control.XFormPanel(); xLookupField2 = new com.rameses.rcp.control.XLookupField(); xLabel4 = new com.rameses.rcp.control.XLabel(); xLabel5 = new com.rameses.rcp.control.XLabel(); xLabel1 = new com.rameses.rcp.control.XLabel(); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle(" General Information "); xFormPanel2.setBorder(xTitledBorder1); xFormPanel2.setPadding(new java.awt.Insets(10, 15, 10, 20)); xLookupField2.setCaption("App. No."); xLookupField2.setCaptionWidth(115); xLookupField2.setExpression("#{item.appno}"); xLookupField2.setHandler("appLookupHandler"); xLookupField2.setIndex(-10); xLookupField2.setName("entity"); xLookupField2.setPreferredSize(new java.awt.Dimension(200, 20)); xLookupField2.setRequired(true); xFormPanel2.add(xLookupField2); xLabel4.setBackground(new java.awt.Color(250, 250, 250)); com.rameses.rcp.control.border.XLineBorder xLineBorder1 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder1.setLineColor(new java.awt.Color(180, 180, 180)); xLabel4.setBorder(xLineBorder1); xLabel4.setCaption("Borrower Name"); xLabel4.setCaptionWidth(115); xLabel4.setDepends(new String[] {"entity"}); xLabel4.setExpression("#{item.name}"); xLabel4.setName("entity.borrower"); xLabel4.setOpaque(true); xLabel4.setPreferredSize(new java.awt.Dimension(0, 20)); xLabel4.setVarName("item"); xFormPanel2.add(xLabel4); xLabel5.setBackground(new java.awt.Color(250, 250, 250)); com.rameses.rcp.control.border.XLineBorder xLineBorder2 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder2.setLineColor(new java.awt.Color(180, 180, 180)); xLabel5.setBorder(xLineBorder2); xLabel5.setCaption("Borrower Address"); xLabel5.setCaptionWidth(115); xLabel5.setDepends(new String[] {"entity"}); xLabel5.setExpression("#{item.address}"); xLabel5.setName("entity.borrower"); xLabel5.setOpaque(true); xLabel5.setPreferredSize(new java.awt.Dimension(0, 20)); xLabel5.setVarName("item"); xFormPanel2.add(xLabel5); xLabel1.setBackground(new java.awt.Color(250, 250, 250)); com.rameses.rcp.control.border.XLineBorder xLineBorder3 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder3.setLineColor(new java.awt.Color(180, 180, 180)); xLabel1.setBorder(xLineBorder3); xLabel1.setCaption("Route"); xLabel1.setCaptionWidth(115); xLabel1.setDepends(new String[] {"entity"}); xLabel1.setExpression("#{item.description} - #{item.area}"); xLabel1.setName("entity.route"); xLabel1.setOpaque(true); xLabel1.setPreferredSize(new java.awt.Dimension(0, 20)); xLabel1.setVarName("item"); xFormPanel2.add(xLabel1); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( layout .createSequentialGroup() .addContainerGap() .addComponent( xFormPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 597, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(22, Short.MAX_VALUE))); layout.setVerticalGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( layout .createSequentialGroup() .addContainerGap() .addComponent( xFormPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 159, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(21, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { jPanel1 = new javax.swing.JPanel(); xDataTable1 = new com.rameses.rcp.control.XDataTable(); xActionBar1 = new com.rameses.rcp.control.XActionBar(); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Collection Sheet"); jPanel1.setBorder(xTitledBorder1); xDataTable1.setHandler("listHandler"); xDataTable1.setImmediate(true); xDataTable1.setName("selected"); org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( jPanel1Layout .createSequentialGroup() .addContainerGap() .add( xDataTable1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 638, Short.MAX_VALUE) .addContainerGap())); jPanel1Layout.setVerticalGroup( jPanel1Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( jPanel1Layout .createSequentialGroup() .addContainerGap() .add( xDataTable1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 297, Short.MAX_VALUE) .addContainerGap())); xActionBar1.setDepends(new String[] {"selected"}); xActionBar1.setName("formActions"); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(xActionBar1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 733, Short.MAX_VALUE) .add( layout .createSequentialGroup() .add(10, 10, 10) .add( jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap())); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .add( xActionBar1, 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( jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(167, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { xActionBar1 = new com.rameses.rcp.control.XActionBar(); formPanel2 = new com.rameses.rcp.util.FormPanel(); xLookupField1 = new com.rameses.rcp.control.XLookupField(); xLabel2 = new com.rameses.rcp.control.XLabel(); xLabel3 = new com.rameses.rcp.control.XLabel(); xLabel4 = new com.rameses.rcp.control.XLabel(); setPreferredSize(new java.awt.Dimension(603, 359)); xActionBar1.setBorder(new com.rameses.rcp.control.border.XUnderlineBorder()); xActionBar1.setName("formActions"); xActionBar1.setPadding(new java.awt.Insets(0, 5, 0, 0)); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Business Information"); formPanel2.setBorder(xTitledBorder1); formPanel2.setPadding(new java.awt.Insets(5, 10, 5, 10)); xLookupField1.setCaption("Trade Name"); xLookupField1.setCaptionWidth(110); xLookupField1.setExpression("#{tradename}"); xLookupField1.setHandler("lookupBusiness"); xLookupField1.setName("business"); xLookupField1.setPreferredSize(new java.awt.Dimension(0, 19)); xLookupField1.setRequired(true); formPanel2.add(xLookupField1); xLabel2.setBackground(javax.swing.UIManager.getDefaults().getColor("TextPane.background")); xLabel2.setBorder( javax.swing.BorderFactory.createLineBorder( javax.swing.UIManager.getDefaults().getColor("TextField.shadow"))); xLabel2.setVerticalAlignment(javax.swing.SwingConstants.TOP); xLabel2.setCaption("Business Address"); xLabel2.setCaptionWidth(110); xLabel2.setExpression("#{entity.business.businessaddress}"); xLabel2.setPreferredSize(new java.awt.Dimension(0, 36)); xLabel2.setVerticalTextPosition(javax.swing.SwingConstants.TOP); formPanel2.add(xLabel2); xLabel3.setBackground(javax.swing.UIManager.getDefaults().getColor("TextPane.background")); xLabel3.setBorder( javax.swing.BorderFactory.createLineBorder( javax.swing.UIManager.getDefaults().getColor("TextField.shadow"))); xLabel3.setCaption("Owner"); xLabel3.setCaptionWidth(110); xLabel3.setExpression("#{entity.business.taxpayername}"); xLabel3.setPreferredSize(new java.awt.Dimension(0, 18)); formPanel2.add(xLabel3); xLabel4.setBackground(javax.swing.UIManager.getDefaults().getColor("TextPane.background")); xLabel4.setBorder( javax.swing.BorderFactory.createLineBorder( javax.swing.UIManager.getDefaults().getColor("TextField.shadow"))); xLabel4.setVerticalAlignment(javax.swing.SwingConstants.TOP); xLabel4.setCaption("Owner Address"); xLabel4.setCaptionWidth(110); xLabel4.setExpression("#{entity.business.taxpayeraddress}"); xLabel4.setPreferredSize(new java.awt.Dimension(0, 36)); formPanel2.add(xLabel4); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(xActionBar1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 603, Short.MAX_VALUE) .add( layout .createSequentialGroup() .add(10, 10, 10) .add( formPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 580, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(13, 13, 13))); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .add( xActionBar1, 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( formPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 162, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(181, 181, 181))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { jPanel1 = new javax.swing.JPanel(); xFormPanel1 = new com.rameses.rcp.control.XFormPanel(); xDateField1 = new com.rameses.rcp.control.XDateField(); xDateField2 = new com.rameses.rcp.control.XDateField(); xDecimalField7 = new com.rameses.rcp.control.XDecimalField(); xButton1 = new com.rameses.rcp.control.XButton(); xFormPanel2 = new com.rameses.rcp.control.XFormPanel(); xComboBox1 = new com.rameses.rcp.control.XComboBox(); xComboBox2 = new com.rameses.rcp.control.XComboBox(); xDecimalField1 = new com.rameses.rcp.control.XDecimalField(); xButton4 = new com.rameses.rcp.control.XButton(); jTabbedPane1 = new javax.swing.JTabbedPane(); jPanel2 = new javax.swing.JPanel(); xDataTable1 = new com.rameses.rcp.control.XDataTable(); xFormPanel3 = new com.rameses.rcp.control.XFormPanel(); xDecimalField2 = new com.rameses.rcp.control.XDecimalField(); xDecimalField4 = new com.rameses.rcp.control.XDecimalField(); xFormPanel4 = new com.rameses.rcp.control.XFormPanel(); xDecimalField3 = new com.rameses.rcp.control.XDecimalField(); xDecimalField6 = new com.rameses.rcp.control.XDecimalField(); xFormPanel5 = new com.rameses.rcp.control.XFormPanel(); xDecimalField5 = new com.rameses.rcp.control.XDecimalField(); jPanel3 = new javax.swing.JPanel(); xDataTable2 = new com.rameses.rcp.control.XDataTable(); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Business Information"); jPanel1.setBorder(xTitledBorder1); xFormPanel1.setCaptionWidth(120); xDateField1.setCaption("Billing Date"); xDateField1.setName("query.billdate"); xDateField1.setRequired(true); xFormPanel1.add(xDateField1); xDateField2.setCaption("Valid Until"); xDateField2.setEnabled(false); xDateField2.setName("validUntil"); xDateField2.setRequired(true); xFormPanel1.add(xDateField2); xDecimalField7.setCaption("Tax Credit"); xDecimalField7.setDepends(new String[] {"query.payoption"}); xDecimalField7.setEnabled(false); xDecimalField7.setName("taxcredit"); xDecimalField7.setRequired(true); xFormPanel1.add(xDecimalField7); xButton1.setCaption("Run Billing"); xButton1.setName("runBilling"); xButton1.setText("Run Billing"); xFormPanel2.setCaptionWidth(100); xComboBox1.setCaption("Pay Option"); xComboBox1.setItems("payOptions"); xComboBox1.setName("query.payoption"); xComboBox1.setPreferredSize(new java.awt.Dimension(0, 22)); xComboBox1.setRequired(true); xFormPanel2.add(xComboBox1); xComboBox2.setCaption("Qtr"); xComboBox2.setDepends(new String[] {"query.payoption"}); xComboBox2.setItems("qtrs"); xComboBox2.setName("query.qtr"); xComboBox2.setRequired(true); xFormPanel2.add(xComboBox2); xDecimalField1.setCaption("Partial Pmt"); xDecimalField1.setDepends(new String[] {"query.payoption"}); xDecimalField1.setName("query.partialpmt"); xDecimalField1.setRequired(true); xFormPanel2.add(xDecimalField1); xButton4.setCaption("Run Billing"); xButton4.setName("resetAll"); xButton4.setText("Reset All"); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( jPanel1Layout .createSequentialGroup() .addContainerGap() .addComponent( xFormPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(16, 16, 16) .addComponent( xFormPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 285, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(23, 23, 23) .addComponent( xButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(21, 21, 21) .addComponent( xButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(184, Short.MAX_VALUE))); jPanel1Layout.setVerticalGroup( jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( jPanel1Layout .createSequentialGroup() .addGroup( jPanel1Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent( xButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent( xButton4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap()) .addGroup( javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout .createSequentialGroup() .addComponent( xFormPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, 73, Short.MAX_VALUE) .addGap(22, 22, 22)) .addGroup( jPanel1Layout .createSequentialGroup() .addComponent( xFormPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap())); xDataTable1.setColumns( new com.rameses.rcp.common.Column[] { new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "year"}, new Object[] {"caption", "Year"}, new Object[] {"width", 50}, new Object[] {"minWidth", 50}, new Object[] {"maxWidth", 50}, new Object[] {"required", false}, new Object[] {"resizable", false}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"alignment", "CENTER"}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.IntegerColumnHandler(null, -1, -1) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "qtr"}, new Object[] {"caption", "Qtr"}, new Object[] {"width", 50}, new Object[] {"minWidth", 50}, new Object[] {"maxWidth", 50}, new Object[] {"required", false}, new Object[] {"resizable", false}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"alignment", "CENTER"}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.IntegerColumnHandler(null, -1, -1) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "duedate"}, new Object[] {"caption", "Due Date"}, new Object[] {"width", 100}, new Object[] {"minWidth", 100}, new Object[] {"maxWidth", 100}, new Object[] {"required", false}, new Object[] {"resizable", true}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.DateColumnHandler(null, "yyyy-MM-dd", null) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "lob.name"}, new Object[] {"caption", "Line of Business"}, new Object[] {"width", 100}, new Object[] {"minWidth", 0}, new Object[] {"maxWidth", 150}, new Object[] {"required", false}, new Object[] {"resizable", true}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] {"typeHandler", new com.rameses.rcp.common.TextColumnHandler()} }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "account.title"}, new Object[] {"caption", "Account"}, new Object[] {"width", 100}, new Object[] {"minWidth", 0}, new Object[] {"maxWidth", 150}, new Object[] {"required", false}, new Object[] {"resizable", true}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] {"typeHandler", new com.rameses.rcp.common.TextColumnHandler()} }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "taxfeetype"}, new Object[] {"caption", "TaxFee Type"}, new Object[] {"width", 100}, new Object[] {"minWidth", 100}, new Object[] {"maxWidth", 100}, new Object[] {"required", false}, new Object[] {"resizable", true}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] {"typeHandler", new com.rameses.rcp.common.TextColumnHandler()} }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "amtdue"}, new Object[] {"caption", "Amount Due"}, new Object[] {"width", 100}, new Object[] {"minWidth", 100}, new Object[] {"maxWidth", 100}, new Object[] {"required", false}, new Object[] {"resizable", false}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.DecimalColumnHandler("#,##0.00", -1.0, -1.0, false, 2) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "discount"}, new Object[] {"caption", "Discount"}, new Object[] {"width", 100}, new Object[] {"minWidth", 10}, new Object[] {"maxWidth", 100}, new Object[] {"required", false}, new Object[] {"resizable", true}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.DecimalColumnHandler("#,##0.00", -1.0, -1.0, false, 2) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "surcharge"}, new Object[] {"caption", "Surcharge"}, new Object[] {"width", 100}, new Object[] {"minWidth", 10}, new Object[] {"maxWidth", 100}, new Object[] {"required", false}, new Object[] {"resizable", false}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.DecimalColumnHandler("#,##0.00", -1.0, -1.0, false, 2) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "interest"}, new Object[] {"caption", "Interest"}, new Object[] {"width", 100}, new Object[] {"minWidth", 100}, new Object[] {"maxWidth", 100}, new Object[] {"required", false}, new Object[] {"resizable", true}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.DecimalColumnHandler("#,##0.00", -1.0, -1.0, false, 2) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "total"}, new Object[] {"caption", "Total"}, new Object[] {"width", 100}, new Object[] {"minWidth", 100}, new Object[] {"maxWidth", 100}, new Object[] {"required", false}, new Object[] {"resizable", false}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.DecimalColumnHandler("#,##0.00", -1.0, -1.0, false, 2) } }) }); xDataTable1.setHandler("listModel"); xDataTable1.setName("selectedItem"); xFormPanel3.setCellspacing(10); xFormPanel3.setOrientation(com.rameses.rcp.constant.UIConstants.HORIZONTAL); xDecimalField2.setCaption("1st Qtr Total"); xDecimalField2.setCaptionWidth(120); xDecimalField2.setEnabled(false); xDecimalField2.setName("result.total_q1"); xFormPanel3.add(xDecimalField2); xDecimalField4.setCaption("3rd Qtr Total"); xDecimalField4.setCaptionWidth(120); xDecimalField4.setEnabled(false); xDecimalField4.setName("result.total_q3"); xFormPanel3.add(xDecimalField4); xFormPanel4.setCaption("Excess Payment"); xFormPanel4.setCellspacing(10); xFormPanel4.setOrientation(com.rameses.rcp.constant.UIConstants.HORIZONTAL); xDecimalField3.setCaption("2nd Qtr Total"); xDecimalField3.setCaptionWidth(120); xDecimalField3.setEnabled(false); xDecimalField3.setName("result.total_q2"); xFormPanel4.add(xDecimalField3); xDecimalField6.setCaption("4th Qtr Total"); xDecimalField6.setCaptionWidth(120); xDecimalField6.setEnabled(false); xDecimalField6.setName("result.total_q4"); xFormPanel4.add(xDecimalField6); xFormPanel5.setCaption("Total"); xFormPanel5.setCellspacing(10); xFormPanel5.setOrientation(com.rameses.rcp.constant.UIConstants.HORIZONTAL); xDecimalField5.setCaption("Total Amt Due"); xDecimalField5.setCaptionWidth(120); xDecimalField5.setEnabled(false); xDecimalField5.setName("result.total"); xFormPanel5.add(xDecimalField5); javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( jPanel2Layout .createSequentialGroup() .addContainerGap() .addGroup( jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent( xDataTable1, javax.swing.GroupLayout.DEFAULT_SIZE, 931, Short.MAX_VALUE) .addGroup( jPanel2Layout .createSequentialGroup() .addGroup( jPanel2Layout .createParallelGroup( javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent( xFormPanel3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent( xFormPanel4, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 488, Short.MAX_VALUE)) .addPreferredGap( javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent( xFormPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE))) .addContainerGap())); jPanel2Layout.setVerticalGroup( jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( jPanel2Layout .createSequentialGroup() .addContainerGap() .addComponent( xDataTable1, javax.swing.GroupLayout.PREFERRED_SIZE, 299, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup( jPanel2Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( jPanel2Layout .createSequentialGroup() .addComponent( xFormPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap( javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent( xFormPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent( xFormPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(45, Short.MAX_VALUE))); jTabbedPane1.addTab("Billing Statement", jPanel2); xDataTable2.setColumns( new com.rameses.rcp.common.Column[] { new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "year"}, new Object[] {"caption", "Year"}, new Object[] {"width", 50}, new Object[] {"minWidth", 50}, new Object[] {"maxWidth", 50}, new Object[] {"required", false}, new Object[] {"resizable", false}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"alignment", "CENTER"}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.IntegerColumnHandler(null, -1, -1) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "qtr"}, new Object[] {"caption", "Qtr"}, new Object[] {"width", 50}, new Object[] {"minWidth", 50}, new Object[] {"maxWidth", 50}, new Object[] {"required", false}, new Object[] {"resizable", false}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"alignment", "CENTER"}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.IntegerColumnHandler(null, -1, -1) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "duedate"}, new Object[] {"caption", "Due Date"}, new Object[] {"width", 100}, new Object[] {"minWidth", 100}, new Object[] {"maxWidth", 100}, new Object[] {"required", false}, new Object[] {"resizable", true}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.DateColumnHandler(null, "yyyy-MM-dd", null) } }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "lob.name"}, new Object[] {"caption", "Line of Business"}, new Object[] {"width", 100}, new Object[] {"minWidth", 0}, new Object[] {"maxWidth", 150}, new Object[] {"required", false}, new Object[] {"resizable", true}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] {"typeHandler", new com.rameses.rcp.common.TextColumnHandler()} }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "account.title"}, new Object[] {"caption", "Account"}, new Object[] {"width", 100}, new Object[] {"minWidth", 0}, new Object[] {"maxWidth", 150}, new Object[] {"required", false}, new Object[] {"resizable", true}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] {"typeHandler", new com.rameses.rcp.common.TextColumnHandler()} }), new com.rameses.rcp.common.Column( new Object[] { new Object[] {"name", "amtdue"}, new Object[] {"caption", "Amount"}, new Object[] {"width", 100}, new Object[] {"minWidth", 100}, new Object[] {"maxWidth", 100}, new Object[] {"required", false}, new Object[] {"resizable", false}, new Object[] {"nullWhenEmpty", true}, new Object[] {"editable", false}, new Object[] {"textCase", com.rameses.rcp.constant.TextCase.UPPER}, new Object[] { "typeHandler", new com.rameses.rcp.common.DecimalColumnHandler("#,##0.00", -1.0, -1.0, false, 2) } }) }); xDataTable2.setHandler("listModel"); xDataTable2.setName("selectedItem"); javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3); jPanel3.setLayout(jPanel3Layout); jPanel3Layout.setHorizontalGroup( jPanel3Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( jPanel3Layout .createSequentialGroup() .addContainerGap() .addComponent( xDataTable2, javax.swing.GroupLayout.DEFAULT_SIZE, 931, Short.MAX_VALUE) .addContainerGap())); jPanel3Layout.setVerticalGroup( jPanel3Layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( jPanel3Layout .createSequentialGroup() .addGap(24, 24, 24) .addComponent( xDataTable2, javax.swing.GroupLayout.PREFERRED_SIZE, 275, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(121, Short.MAX_VALUE))); jTabbedPane1.addTab("By Account", jPanel3); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( javax.swing.GroupLayout.Alignment.TRAILING, layout .createSequentialGroup() .addContainerGap() .addGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent( jTabbedPane1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 956, Short.MAX_VALUE) .addComponent( jPanel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap())); layout.setVerticalGroup( layout .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup( layout .createSequentialGroup() .addContainerGap() .addComponent( jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent( jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 448, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { xFormPanel1 = new com.rameses.rcp.control.XFormPanel(); xLabel1 = new com.rameses.rcp.control.XLabel(); xTextField2 = new com.rameses.rcp.control.XTextField(); xTextField5 = new com.rameses.rcp.control.XTextField(); xComboBox1 = new com.rameses.rcp.control.XComboBox(); xDateField1 = new com.rameses.rcp.control.XDateField(); xTextField7 = new com.rameses.rcp.control.XTextField(); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setPadding(new java.awt.Insets(30, 15, 15, 15)); xTitledBorder1.setTitle("General Information"); xFormPanel1.setBorder(xTitledBorder1); xLabel1.setBorder( javax.swing.BorderFactory.createLineBorder(new java.awt.Color(153, 153, 153))); xLabel1.setCaption("Acct No"); xLabel1.setCaptionWidth(120); xLabel1.setExpression("#{entity.entityno}"); xLabel1.setFont(new java.awt.Font("Tahoma", 1, 12)); xLabel1.setPreferredSize(new java.awt.Dimension(200, 20)); xFormPanel1.add(xLabel1); xTextField2.setCaption("Company Name"); xTextField2.setCaptionWidth(120); xTextField2.setName("entity.name"); xTextField2.setPreferredSize(new java.awt.Dimension(400, 20)); xTextField2.setRequired(true); xFormPanel1.add(xTextField2); xTextField5.setCaption("Company Address"); xTextField5.setCaptionWidth(120); xTextField5.setName("entity.address"); xTextField5.setPreferredSize(new java.awt.Dimension(400, 20)); xTextField5.setRequired(true); xFormPanel1.add(xTextField5); xComboBox1.setCaption("Organization Type"); xComboBox1.setCaptionWidth(120); xComboBox1.setExpression("#{item.value}"); xComboBox1.setItemKey("key"); xComboBox1.setItems("orgTypes"); xComboBox1.setName("entity.orgtype"); xComboBox1.setPreferredSize(new java.awt.Dimension(200, 22)); xComboBox1.setRequired(true); xFormPanel1.add(xComboBox1); xDateField1.setCaption("Date Registered"); xDateField1.setCaptionWidth(120); xDateField1.setName("entity.dtregistered"); xDateField1.setPreferredSize(new java.awt.Dimension(110, 19)); xFormPanel1.add(xDateField1); xTextField7.setCaption("Nature of Business"); xTextField7.setCaptionWidth(120); xTextField7.setName("entity.nature"); xTextField7.setPreferredSize(new java.awt.Dimension(400, 20)); xFormPanel1.add(xTextField7); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .addContainerGap() .add( xFormPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 565, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(29, Short.MAX_VALUE))); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .addContainerGap() .add( xFormPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 189, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(192, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { formPanel1 = new com.rameses.rcp.util.FormPanel(); xComboBox2 = new com.rameses.rcp.control.XComboBox(); xComboBox1 = new com.rameses.rcp.control.XComboBox(); xNumberField2 = new com.rameses.rcp.control.XNumberField(); xComboBox3 = new com.rameses.rcp.control.XComboBox(); xComboBox4 = new com.rameses.rcp.control.XComboBox(); xNumberField3 = new com.rameses.rcp.control.XNumberField(); xNumberField4 = new com.rameses.rcp.control.XNumberField(); xNumberField5 = new com.rameses.rcp.control.XNumberField(); xTextField2 = new com.rameses.rcp.control.XTextField(); jPanel1 = new javax.swing.JPanel(); formPanel2 = new com.rameses.rcp.util.FormPanel(); xTextField1 = new com.rameses.rcp.control.XTextField(); xCheckBox1 = new com.rameses.rcp.control.XCheckBox(); xActionBar1 = new com.rameses.rcp.control.XActionBar(); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("New FAAS Initial Information"); formPanel1.setBorder(xTitledBorder1); xComboBox2.setAllowNull(false); xComboBox2.setCaption("PIN Type"); xComboBox2.setCaptionWidth(100); xComboBox2.setImmediate(true); xComboBox2.setItems("pinTypes"); xComboBox2.setName("faas.rp.pintype"); xComboBox2.setPreferredSize(new java.awt.Dimension(100, 22)); xComboBox2.setRequired(true); formPanel1.add(xComboBox2); xComboBox1.setCaption("Transaction"); xComboBox1.setCaptionWidth(100); xComboBox1.setExpression("#{caption}"); xComboBox1.setImmediate(true); xComboBox1.setIndex(-10); xComboBox1.setItems("txnTypes"); xComboBox1.setName("faas.info.txn"); xComboBox1.setPreferredSize(new java.awt.Dimension(0, 22)); xComboBox1.setRequired(true); formPanel1.add(xComboBox1); xNumberField2.setCaption("Revision Year"); xNumberField2.setCaptionWidth(100); xNumberField2.setFieldType(Integer.class); xNumberField2.setName("faas.rpu.ry"); xNumberField2.setPreferredSize(new java.awt.Dimension(100, 19)); xNumberField2.setRequired(true); formPanel1.add(xNumberField2); xComboBox3.setCaption("Municipality"); xComboBox3.setCaptionWidth(100); xComboBox3.setExpression("#{lguname}"); xComboBox3.setImmediate(true); xComboBox3.setIndex(-10); xComboBox3.setItems("lguList"); xComboBox3.setName("lgu"); xComboBox3.setPreferredSize(new java.awt.Dimension(0, 22)); xComboBox3.setRequired(true); formPanel1.add(xComboBox3); xComboBox4.setCaption("Barangay"); xComboBox4.setCaptionWidth(100); xComboBox4.setDepends(new String[] {"lgu"}); xComboBox4.setDynamic(true); xComboBox4.setExpression("#{lguname}"); xComboBox4.setImmediate(true); xComboBox4.setIndex(-10); xComboBox4.setItems("lguBarangays"); xComboBox4.setName("barangay"); xComboBox4.setPreferredSize(new java.awt.Dimension(0, 22)); xComboBox4.setRequired(true); formPanel1.add(xComboBox4); xNumberField3.setCaption("Section"); xNumberField3.setCaptionWidth(100); xNumberField3.setFieldType(Integer.class); xNumberField3.setName("section"); xNumberField3.setPreferredSize(new java.awt.Dimension(100, 19)); xNumberField3.setRequired(true); formPanel1.add(xNumberField3); xNumberField4.setCaption("Parcel"); xNumberField4.setCaptionWidth(100); xNumberField4.setFieldType(Integer.class); xNumberField4.setName("parcel"); xNumberField4.setPreferredSize(new java.awt.Dimension(100, 19)); xNumberField4.setRequired(true); formPanel1.add(xNumberField4); xNumberField5.setCaption("Suffix"); xNumberField5.setCaptionWidth(100); xNumberField5.setFieldType(Integer.class); xNumberField5.setName("faas.rpu.suffix"); xNumberField5.setPreferredSize(new java.awt.Dimension(100, 19)); xNumberField5.setRequired(true); formPanel1.add(xNumberField5); xTextField2.setCaption("Claim No."); xTextField2.setCaptionWidth(100); xTextField2.setDepends(new String[] {"faas.info.txn", "barangay"}); xTextField2.setName("faas.info.claimno"); xTextField2.setPreferredSize(new java.awt.Dimension(100, 19)); xTextField2.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { xTextField2ActionPerformed(evt); } }); formPanel1.add(xTextField2); jPanel1.setLayout(null); jPanel1.setBorder( javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); formPanel2.setCaptionBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)); formPanel2.setPreferredSize(new java.awt.Dimension(0, 29)); xTextField1.setCaption("Sub-Suffix"); xTextField1.setDepends(new String[] {"iscondo", "faas.rpu.suffix"}); xTextField1.setName("faas.rpu.subsuffix"); xTextField1.setPreferredSize(new java.awt.Dimension(0, 19)); formPanel2.add(xTextField1); jPanel1.add(formPanel2); formPanel2.setBounds(42, 24, 164, 29); xCheckBox1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 5, 0, 0)); xCheckBox1.setText("Is Condominium ?"); xCheckBox1.setDepends(new String[] {"faas.rpu.suffix"}); xCheckBox1.setMargin(new java.awt.Insets(0, 0, 0, 0)); xCheckBox1.setName("iscondo"); xCheckBox1.setPreferredSize(new java.awt.Dimension(101, 19)); jPanel1.add(xCheckBox1); xCheckBox1.setBounds(10, 6, 112, 18); xActionBar1.setBorder(new com.rameses.rcp.control.border.XUnderlineBorder()); xActionBar1.setName("initCreateActions"); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( xActionBar1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 490, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add( layout .createSequentialGroup() .addContainerGap() .add( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 344, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add( jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 344, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .add( xActionBar1, 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( formPanel1, 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( jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 62, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(68, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { xActionBar1 = new com.rameses.rcp.control.XActionBar(); xPanel1 = new com.rameses.rcp.control.XPanel(); formPanel1 = new com.rameses.rcp.util.FormPanel(); xNumberField1 = new com.rameses.rcp.control.XNumberField(); xComboBox1 = new com.rameses.rcp.control.XComboBox(); xComboBox2 = new com.rameses.rcp.control.XComboBox(); formPanel2 = new com.rameses.rcp.util.FormPanel(); xComboBox3 = new com.rameses.rcp.control.XComboBox(); xComboBox4 = new com.rameses.rcp.control.XComboBox(); setPreferredSize(new java.awt.Dimension(603, 291)); xActionBar1.setBorder(new com.rameses.rcp.control.border.XUnderlineBorder()); xActionBar1.setName("formActions"); xActionBar1.setPadding(new java.awt.Insets(0, 5, 0, 0)); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("Initial Information"); xPanel1.setBorder(xTitledBorder1); formPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)); xNumberField1.setCaption("Year"); xNumberField1.setFieldType(Integer.class); xNumberField1.setIndex(-10); xNumberField1.setName("year"); xNumberField1.setPreferredSize(new java.awt.Dimension(80, 19)); xNumberField1.setRequired(true); formPanel1.add(xNumberField1); xComboBox1.setCaption("Quarter"); xComboBox1.setImmediate(true); xComboBox1.setItems("quarterlist"); xComboBox1.setName("quarter"); xComboBox1.setPreferredSize(new java.awt.Dimension(80, 19)); xComboBox1.setRequired(true); formPanel1.add(xComboBox1); xComboBox2.setCaption("Month"); xComboBox2.setDepends(new String[] {"quarter"}); xComboBox2.setDynamic(true); xComboBox2.setExpression("#{name}"); xComboBox2.setImmediate(true); xComboBox2.setItems("monthlist"); xComboBox2.setName("month"); xComboBox2.setPreferredSize(new java.awt.Dimension(100, 19)); formPanel1.add(xComboBox2); formPanel2.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1)); xComboBox3.setAllowNull(false); xComboBox3.setCaption("LGU"); xComboBox3.setDynamic(true); xComboBox3.setExpression("#{lguname}"); xComboBox3.setImmediate(true); xComboBox3.setItems("lgulist"); xComboBox3.setName("lgu"); xComboBox3.setPreferredSize(new java.awt.Dimension(130, 19)); xComboBox3.setRequired(true); formPanel2.add(xComboBox3); xComboBox4.setCaption("Barangay"); xComboBox4.setDepends(new String[] {"lgu"}); xComboBox4.setDynamic(true); xComboBox4.setExpression("#{barangay}"); xComboBox4.setImmediate(true); xComboBox4.setItems("barangaylist"); xComboBox4.setName("barangay"); xComboBox4.setPreferredSize(new java.awt.Dimension(130, 19)); xComboBox4.setRequired(true); formPanel2.add(xComboBox4); org.jdesktop.layout.GroupLayout xPanel1Layout = new org.jdesktop.layout.GroupLayout(xPanel1); xPanel1.setLayout(xPanel1Layout); xPanel1Layout.setHorizontalGroup( xPanel1Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( xPanel1Layout .createSequentialGroup() .addContainerGap() .add( xPanel1Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( formPanel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE) .add( org.jdesktop.layout.GroupLayout.TRAILING, formPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 341, Short.MAX_VALUE)) .addContainerGap())); xPanel1Layout.setVerticalGroup( xPanel1Layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( xPanel1Layout .createSequentialGroup() .addContainerGap() .add( formPanel2, 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( formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(47, Short.MAX_VALUE))); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( org.jdesktop.layout.GroupLayout.TRAILING, xActionBar1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 603, Short.MAX_VALUE) .add( layout .createSequentialGroup() .add(10, 10, 10) .add( xPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(228, 228, 228))); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .add( xActionBar1, 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( xPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(50, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { formPanel1 = new com.rameses.rcp.util.FormPanel(); xComboBox2 = new com.rameses.rcp.control.XComboBox(); xIntegerField1 = new com.rameses.rcp.control.XIntegerField(); xComboBox1 = new com.rameses.rcp.control.XComboBox(); xComboBox3 = new com.rameses.rcp.control.XComboBox(); xLookupField1 = new com.rameses.rcp.control.XLookupField(); xLookupField2 = new com.rameses.rcp.control.XLookupField(); xIntegerField2 = new com.rameses.rcp.control.XIntegerField(); xIntegerField3 = new com.rameses.rcp.control.XIntegerField(); xIntegerField4 = new com.rameses.rcp.control.XIntegerField(); xTextField2 = new com.rameses.rcp.control.XTextField(); xCheckBox1 = new com.rameses.rcp.control.XCheckBox(); xLabel1 = new com.rameses.rcp.control.XLabel(); com.rameses.rcp.control.border.XTitledBorder xTitledBorder1 = new com.rameses.rcp.control.border.XTitledBorder(); xTitledBorder1.setTitle("New FAAS Initial Information"); formPanel1.setBorder(xTitledBorder1); xComboBox2.setAllowNull(false); xComboBox2.setCaption("PIN Type"); xComboBox2.setCaptionWidth(100); xComboBox2.setImmediate(true); xComboBox2.setIndex(-10); xComboBox2.setItems("pinTypes"); xComboBox2.setName("entity.pintype"); xComboBox2.setPreferredSize(new java.awt.Dimension(100, 22)); xComboBox2.setRequired(true); formPanel1.add(xComboBox2); xIntegerField1.setCaption("Revision Year"); xIntegerField1.setCaptionWidth(100); xIntegerField1.setName("entity.ry"); xIntegerField1.setRequired(true); formPanel1.add(xIntegerField1); xComboBox1.setCaption("Transaction"); xComboBox1.setCaptionWidth(100); xComboBox1.setExpression("#{item.name}"); xComboBox1.setImmediate(true); xComboBox1.setIndex(-10); xComboBox1.setItems("txnTypes"); xComboBox1.setName("entity.txntype"); xComboBox1.setPreferredSize(new java.awt.Dimension(0, 22)); xComboBox1.setRequired(true); formPanel1.add(xComboBox1); xComboBox3.setAllowNull(false); xComboBox3.setCaption("Property Type"); xComboBox3.setCaptionWidth(100); xComboBox3.setImmediate(true); xComboBox3.setItems("rpuTypes"); xComboBox3.setName("entity.rputype"); xComboBox3.setPreferredSize(new java.awt.Dimension(0, 22)); xComboBox3.setRequired(true); formPanel1.add(xComboBox3); xLookupField1.setCaption("Barangay"); xLookupField1.setCaptionWidth(100); xLookupField1.setDepends(new String[] {"entity.rputype"}); xLookupField1.setExpression("#{entity.barangay.name}"); xLookupField1.setHandler("lookupBarangay"); xLookupField1.setName("entity.barangay"); xLookupField1.setPreferredSize(new java.awt.Dimension(0, 20)); xLookupField1.setRequired(true); formPanel1.add(xLookupField1); xLookupField2.setCaption("Land PIN"); xLookupField2.setCaptionWidth(100); xLookupField2.setDepends(new String[] {"entity.rputype"}); xLookupField2.setExpression("#{entity.rp.pin}"); xLookupField2.setHandler("lookupRealProperty"); xLookupField2.setName("entity.rp"); xLookupField2.setPreferredSize(new java.awt.Dimension(0, 20)); xLookupField2.setRequired(true); formPanel1.add(xLookupField2); xIntegerField2.setCaption("Section"); xIntegerField2.setCaptionWidth(100); xIntegerField2.setDepends(new String[] {"entity.pintype", "entity.rputype"}); xIntegerField2.setName("entity.isection"); xIntegerField2.setRequired(true); formPanel1.add(xIntegerField2); xIntegerField3.setCaption("Parcel"); xIntegerField3.setCaptionWidth(100); xIntegerField3.setDepends(new String[] {"entity.pintype", "entity.rputype"}); xIntegerField3.setName("entity.iparcel"); xIntegerField3.setRequired(true); formPanel1.add(xIntegerField3); xIntegerField4.setCaption("Suffix"); xIntegerField4.setCaptionWidth(100); xIntegerField4.setDepends(new String[] {"entity.rputype"}); xIntegerField4.setName("entity.suffix"); xIntegerField4.setRequired(true); formPanel1.add(xIntegerField4); xTextField2.setCaption("Claim No."); xTextField2.setCaptionWidth(100); xTextField2.setDepends(new String[] {"entity.rputype"}); xTextField2.setName("entity.claimno"); xTextField2.setPreferredSize(new java.awt.Dimension(100, 19)); xTextField2.addActionListener( new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { xTextField2ActionPerformed(evt); } }); formPanel1.add(xTextField2); xCheckBox1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); xCheckBox1.setCaption("Auto-number"); xCheckBox1.setCaptionWidth(120); xCheckBox1.setCellPadding(new java.awt.Insets(10, 0, 0, 0)); xCheckBox1.setMargin(new java.awt.Insets(0, 0, 0, 0)); xCheckBox1.setName("entity.autonumber"); xCheckBox1.setShowCaption(false); xCheckBox1.setText("Auto-number"); formPanel1.add(xCheckBox1); xLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); com.rameses.rcp.control.border.XLineBorder xLineBorder1 = new com.rameses.rcp.control.border.XLineBorder(); xLineBorder1.setLineColor(new java.awt.Color(153, 153, 153)); xLabel1.setBorder(xLineBorder1); xLabel1.setCaption("PIN No."); xLabel1.setCaptionFont(new java.awt.Font("Tahoma", 0, 18)); xLabel1.setExpression("#{entity.fullpin}"); xLabel1.setFont(new java.awt.Font("Tahoma", 1, 18)); xLabel1.setPreferredSize(new java.awt.Dimension(0, 30)); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .addContainerGap() .add( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add( org.jdesktop.layout.GroupLayout.LEADING, xLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add( org.jdesktop.layout.GroupLayout.LEADING, formPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 344, Short.MAX_VALUE)) .addContainerGap())); layout.setVerticalGroup( layout .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add( layout .createSequentialGroup() .addContainerGap() .add( formPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 293, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add( xLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 38, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(50, Short.MAX_VALUE))); } // </editor-fold>//GEN-END:initComponents