// <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() { 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