updated interface
Interface is still WIP.
This commit is contained in:
		
							parent
							
								
									a3b83838b2
								
							
						
					
					
						commit
						9aa460d6a3
					
				
					 2 changed files with 55 additions and 46 deletions
				
			
		|  | @ -33,7 +33,7 @@ | ||||||
|         </Component> |         </Component> | ||||||
|         <Component class="javax.swing.JButton" name="jButton_action_continue"> |         <Component class="javax.swing.JButton" name="jButton_action_continue"> | ||||||
|           <Properties> |           <Properties> | ||||||
|             <Property name="text" type="java.lang.String" value="Complete Transaction"/> |             <Property name="text" type="java.lang.String" value="Complete"/> | ||||||
|             <Property name="actionCommand" type="java.lang.String" value="action_continue"/> |             <Property name="actionCommand" type="java.lang.String" value="action_continue"/> | ||||||
|           </Properties> |           </Properties> | ||||||
|         </Component> |         </Component> | ||||||
|  | @ -42,19 +42,19 @@ | ||||||
|     <Container class="javax.swing.JPanel" name="jPanel_information"> |     <Container class="javax.swing.JPanel" name="jPanel_information"> | ||||||
|       <Constraints> |       <Constraints> | ||||||
|         <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> |         <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> | ||||||
|           <BorderConstraints direction="First"/> |           <BorderConstraints direction="Center"/> | ||||||
|         </Constraint> |         </Constraint> | ||||||
|       </Constraints> |       </Constraints> | ||||||
| 
 | 
 | ||||||
|       <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> |       <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/> | ||||||
|       <SubComponents> |       <SubComponents> | ||||||
|         <Component class="javax.swing.JLabel" name="jLabel_information_total"> |         <Component class="javax.swing.JLabel" name="jLabel_information_total"> | ||||||
|           <Properties> |           <Properties> | ||||||
|             <Property name="text" type="java.lang.String" value="Total"/> |             <Property name="text" type="java.lang.String" value="Total"/> | ||||||
|           </Properties> |           </Properties> | ||||||
|           <Constraints> |           <Constraints> | ||||||
|             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> |             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> | ||||||
|               <BorderConstraints direction="West"/> |               <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> | ||||||
|             </Constraint> |             </Constraint> | ||||||
|           </Constraints> |           </Constraints> | ||||||
|         </Component> |         </Component> | ||||||
|  | @ -64,6 +64,7 @@ | ||||||
|             <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> |             <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> | ||||||
|               <Font name="Dialog" size="18" style="1"/> |               <Font name="Dialog" size="18" style="1"/> | ||||||
|             </Property> |             </Property> | ||||||
|  |             <Property name="horizontalAlignment" type="int" value="11"/> | ||||||
|             <Property name="text" type="java.lang.String" value="0"/> |             <Property name="text" type="java.lang.String" value="0"/> | ||||||
|             <Property name="focusable" type="boolean" value="false"/> |             <Property name="focusable" type="boolean" value="false"/> | ||||||
|             <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> |             <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> | ||||||
|  | @ -72,32 +73,29 @@ | ||||||
|             <Property name="requestFocusEnabled" type="boolean" value="false"/> |             <Property name="requestFocusEnabled" type="boolean" value="false"/> | ||||||
|           </Properties> |           </Properties> | ||||||
|           <Constraints> |           <Constraints> | ||||||
|             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> |             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> | ||||||
|               <BorderConstraints direction="Center"/> |               <GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/> | ||||||
|  |             </Constraint> | ||||||
|  |           </Constraints> | ||||||
|  |         </Component> | ||||||
|  |         <Component class="javax.swing.JLabel" name="jLabel_information_payment_value"> | ||||||
|  |           <Properties> | ||||||
|  |             <Property name="text" type="java.lang.String" value="jLabel1"/> | ||||||
|  |           </Properties> | ||||||
|  |           <Constraints> | ||||||
|  |             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> | ||||||
|  |               <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> | ||||||
|  |             </Constraint> | ||||||
|  |           </Constraints> | ||||||
|  |         </Component> | ||||||
|  |         <Component class="javax.swing.JSpinner" name="jSpinner_information_payment_value"> | ||||||
|  |           <Constraints> | ||||||
|  |             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> | ||||||
|  |               <GridBagConstraints gridX="1" gridY="1" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/> | ||||||
|             </Constraint> |             </Constraint> | ||||||
|           </Constraints> |           </Constraints> | ||||||
|         </Component> |         </Component> | ||||||
|       </SubComponents> |       </SubComponents> | ||||||
|     </Container> |     </Container> | ||||||
|     <Container class="javax.swing.JPanel" name="jPanel1"> |  | ||||||
|       <Constraints> |  | ||||||
|         <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> |  | ||||||
|           <BorderConstraints direction="Center"/> |  | ||||||
|         </Constraint> |  | ||||||
|       </Constraints> |  | ||||||
| 
 |  | ||||||
|       <Layout> |  | ||||||
|         <DimensionLayout dim="0"> |  | ||||||
|           <Group type="103" groupAlignment="0" attributes="0"> |  | ||||||
|               <EmptySpace min="0" pref="400" max="32767" attributes="0"/> |  | ||||||
|           </Group> |  | ||||||
|         </DimensionLayout> |  | ||||||
|         <DimensionLayout dim="1"> |  | ||||||
|           <Group type="103" groupAlignment="0" attributes="0"> |  | ||||||
|               <EmptySpace min="0" pref="240" max="32767" attributes="0"/> |  | ||||||
|           </Group> |  | ||||||
|         </DimensionLayout> |  | ||||||
|       </Layout> |  | ||||||
|     </Container> |  | ||||||
|   </SubComponents> |   </SubComponents> | ||||||
| </Form> | </Form> | ||||||
|  |  | ||||||
|  | @ -25,6 +25,7 @@ public class OnPayment extends javax.swing.JPanel { | ||||||
|     @SuppressWarnings("unchecked") |     @SuppressWarnings("unchecked") | ||||||
|     // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents |     // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents | ||||||
|     private void initComponents() { |     private void initComponents() { | ||||||
|  |         java.awt.GridBagConstraints gridBagConstraints; | ||||||
| 
 | 
 | ||||||
|         jPanel_actions = new javax.swing.JPanel(); |         jPanel_actions = new javax.swing.JPanel(); | ||||||
|         jButton_action_cancel = new javax.swing.JButton(); |         jButton_action_cancel = new javax.swing.JButton(); | ||||||
|  | @ -32,7 +33,8 @@ public class OnPayment extends javax.swing.JPanel { | ||||||
|         jPanel_information = new javax.swing.JPanel(); |         jPanel_information = new javax.swing.JPanel(); | ||||||
|         jLabel_information_total = new javax.swing.JLabel(); |         jLabel_information_total = new javax.swing.JLabel(); | ||||||
|         jTextField_information_total_value = new javax.swing.JTextField(); |         jTextField_information_total_value = new javax.swing.JTextField(); | ||||||
|         jPanel1 = new javax.swing.JPanel(); |         jLabel_information_payment_value = new javax.swing.JLabel(); | ||||||
|  |         jSpinner_information_payment_value = new javax.swing.JSpinner(); | ||||||
| 
 | 
 | ||||||
|         setLayout(new java.awt.BorderLayout()); |         setLayout(new java.awt.BorderLayout()); | ||||||
| 
 | 
 | ||||||
|  | @ -40,49 +42,58 @@ public class OnPayment extends javax.swing.JPanel { | ||||||
|         jButton_action_cancel.setActionCommand("action_cancel"); |         jButton_action_cancel.setActionCommand("action_cancel"); | ||||||
|         jPanel_actions.add(jButton_action_cancel); |         jPanel_actions.add(jButton_action_cancel); | ||||||
| 
 | 
 | ||||||
|         jButton_action_continue.setText("Complete Transaction"); |         jButton_action_continue.setText("Complete"); | ||||||
|         jButton_action_continue.setActionCommand("action_continue"); |         jButton_action_continue.setActionCommand("action_continue"); | ||||||
|         jPanel_actions.add(jButton_action_continue); |         jPanel_actions.add(jButton_action_continue); | ||||||
| 
 | 
 | ||||||
|         add(jPanel_actions, java.awt.BorderLayout.PAGE_END); |         add(jPanel_actions, java.awt.BorderLayout.PAGE_END); | ||||||
| 
 | 
 | ||||||
|         jPanel_information.setLayout(new java.awt.BorderLayout()); |         jPanel_information.setLayout(new java.awt.GridBagLayout()); | ||||||
| 
 | 
 | ||||||
|         jLabel_information_total.setText("Total"); |         jLabel_information_total.setText("Total"); | ||||||
|         jPanel_information.add(jLabel_information_total, java.awt.BorderLayout.WEST); |         gridBagConstraints = new java.awt.GridBagConstraints(); | ||||||
|  |         gridBagConstraints.gridx = 0; | ||||||
|  |         gridBagConstraints.gridy = 0; | ||||||
|  |         jPanel_information.add(jLabel_information_total, gridBagConstraints); | ||||||
| 
 | 
 | ||||||
|         jTextField_information_total_value.setEditable(false); |         jTextField_information_total_value.setEditable(false); | ||||||
|         jTextField_information_total_value.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N |         jTextField_information_total_value.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N | ||||||
|  |         jTextField_information_total_value.setHorizontalAlignment(javax.swing.JTextField.TRAILING); | ||||||
|         jTextField_information_total_value.setText("0"); |         jTextField_information_total_value.setText("0"); | ||||||
|         jTextField_information_total_value.setFocusable(false); |         jTextField_information_total_value.setFocusable(false); | ||||||
|         jTextField_information_total_value.setMinimumSize(new java.awt.Dimension(30, 26)); |         jTextField_information_total_value.setMinimumSize(new java.awt.Dimension(30, 26)); | ||||||
|         jTextField_information_total_value.setRequestFocusEnabled(false); |         jTextField_information_total_value.setRequestFocusEnabled(false); | ||||||
|         jPanel_information.add(jTextField_information_total_value, java.awt.BorderLayout.CENTER); |         gridBagConstraints = new java.awt.GridBagConstraints(); | ||||||
|  |         gridBagConstraints.gridx = 1; | ||||||
|  |         gridBagConstraints.gridy = 0; | ||||||
|  |         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; | ||||||
|  |         gridBagConstraints.weightx = 1.0; | ||||||
|  |         jPanel_information.add(jTextField_information_total_value, gridBagConstraints); | ||||||
| 
 | 
 | ||||||
|         add(jPanel_information, java.awt.BorderLayout.PAGE_START); |         jLabel_information_payment_value.setText("jLabel1"); | ||||||
|  |         gridBagConstraints = new java.awt.GridBagConstraints(); | ||||||
|  |         gridBagConstraints.gridx = 0; | ||||||
|  |         gridBagConstraints.gridy = 1; | ||||||
|  |         jPanel_information.add(jLabel_information_payment_value, gridBagConstraints); | ||||||
|  |         gridBagConstraints = new java.awt.GridBagConstraints(); | ||||||
|  |         gridBagConstraints.gridx = 1; | ||||||
|  |         gridBagConstraints.gridy = 1; | ||||||
|  |         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; | ||||||
|  |         gridBagConstraints.weightx = 1.0; | ||||||
|  |         jPanel_information.add(jSpinner_information_payment_value, gridBagConstraints); | ||||||
| 
 | 
 | ||||||
|         javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); |         add(jPanel_information, java.awt.BorderLayout.CENTER); | ||||||
|         jPanel1.setLayout(jPanel1Layout); |  | ||||||
|         jPanel1Layout.setHorizontalGroup( |  | ||||||
|             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |  | ||||||
|             .addGap(0, 400, Short.MAX_VALUE) |  | ||||||
|         ); |  | ||||||
|         jPanel1Layout.setVerticalGroup( |  | ||||||
|             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |  | ||||||
|             .addGap(0, 240, Short.MAX_VALUE) |  | ||||||
|         ); |  | ||||||
| 
 |  | ||||||
|         add(jPanel1, java.awt.BorderLayout.CENTER); |  | ||||||
|     }// </editor-fold>//GEN-END:initComponents |     }// </editor-fold>//GEN-END:initComponents | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|     // Variables declaration - do not modify//GEN-BEGIN:variables |     // Variables declaration - do not modify//GEN-BEGIN:variables | ||||||
|     private javax.swing.JButton jButton_action_cancel; |     private javax.swing.JButton jButton_action_cancel; | ||||||
|     private javax.swing.JButton jButton_action_continue; |     private javax.swing.JButton jButton_action_continue; | ||||||
|  |     private javax.swing.JLabel jLabel_information_payment_value; | ||||||
|     private javax.swing.JLabel jLabel_information_total; |     private javax.swing.JLabel jLabel_information_total; | ||||||
|     private javax.swing.JPanel jPanel1; |  | ||||||
|     private javax.swing.JPanel jPanel_actions; |     private javax.swing.JPanel jPanel_actions; | ||||||
|     private javax.swing.JPanel jPanel_information; |     private javax.swing.JPanel jPanel_information; | ||||||
|  |     private javax.swing.JSpinner jSpinner_information_payment_value; | ||||||
|     private javax.swing.JTextField jTextField_information_total_value; |     private javax.swing.JTextField jTextField_information_total_value; | ||||||
|     // End of variables declaration//GEN-END:variables |     // End of variables declaration//GEN-END:variables | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue