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 class="javax.swing.JButton" name="jButton_action_continue"> | ||||
|           <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"/> | ||||
|           </Properties> | ||||
|         </Component> | ||||
|  | @ -42,19 +42,19 @@ | |||
|     <Container class="javax.swing.JPanel" name="jPanel_information"> | ||||
|       <Constraints> | ||||
|         <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> | ||||
|       </Constraints> | ||||
| 
 | ||||
|       <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> | ||||
|       <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/> | ||||
|       <SubComponents> | ||||
|         <Component class="javax.swing.JLabel" name="jLabel_information_total"> | ||||
|           <Properties> | ||||
|             <Property name="text" type="java.lang.String" value="Total"/> | ||||
|           </Properties> | ||||
|           <Constraints> | ||||
|             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> | ||||
|               <BorderConstraints direction="West"/> | ||||
|             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> | ||||
|               <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> | ||||
|           </Constraints> | ||||
|         </Component> | ||||
|  | @ -64,6 +64,7 @@ | |||
|             <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> | ||||
|               <Font name="Dialog" size="18" style="1"/> | ||||
|             </Property> | ||||
|             <Property name="horizontalAlignment" type="int" value="11"/> | ||||
|             <Property name="text" type="java.lang.String" value="0"/> | ||||
|             <Property name="focusable" type="boolean" value="false"/> | ||||
|             <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> | ||||
|  | @ -72,32 +73,29 @@ | |||
|             <Property name="requestFocusEnabled" type="boolean" value="false"/> | ||||
|           </Properties> | ||||
|           <Constraints> | ||||
|             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> | ||||
|               <BorderConstraints direction="Center"/> | ||||
|             <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> | ||||
|               <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> | ||||
|           </Constraints> | ||||
|         </Component> | ||||
|       </SubComponents> | ||||
|     </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> | ||||
| </Form> | ||||
|  |  | |||
|  | @ -25,6 +25,7 @@ public class OnPayment extends javax.swing.JPanel { | |||
|     @SuppressWarnings("unchecked") | ||||
|     // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents | ||||
|     private void initComponents() { | ||||
|         java.awt.GridBagConstraints gridBagConstraints; | ||||
| 
 | ||||
|         jPanel_actions = new javax.swing.JPanel(); | ||||
|         jButton_action_cancel = new javax.swing.JButton(); | ||||
|  | @ -32,7 +33,8 @@ public class OnPayment extends javax.swing.JPanel { | |||
|         jPanel_information = new javax.swing.JPanel(); | ||||
|         jLabel_information_total = new javax.swing.JLabel(); | ||||
|         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()); | ||||
| 
 | ||||
|  | @ -40,49 +42,58 @@ public class OnPayment extends javax.swing.JPanel { | |||
|         jButton_action_cancel.setActionCommand("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"); | ||||
|         jPanel_actions.add(jButton_action_continue); | ||||
| 
 | ||||
|         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"); | ||||
|         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.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.setFocusable(false); | ||||
|         jTextField_information_total_value.setMinimumSize(new java.awt.Dimension(30, 26)); | ||||
|         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); | ||||
|         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); | ||||
|         add(jPanel_information, java.awt.BorderLayout.CENTER); | ||||
|     }// </editor-fold>//GEN-END:initComponents | ||||
| 
 | ||||
| 
 | ||||
|     // Variables declaration - do not modify//GEN-BEGIN:variables | ||||
|     private javax.swing.JButton jButton_action_cancel; | ||||
|     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.JPanel jPanel1; | ||||
|     private javax.swing.JPanel jPanel_actions; | ||||
|     private javax.swing.JPanel jPanel_information; | ||||
|     private javax.swing.JSpinner jSpinner_information_payment_value; | ||||
|     private javax.swing.JTextField jTextField_information_total_value; | ||||
|     // End of variables declaration//GEN-END:variables | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue