initial payment window layout
This commit is contained in:
		
							parent
							
								
									10558cc9b4
								
							
						
					
					
						commit
						cd23cffd7d
					
				
					 2 changed files with 191 additions and 0 deletions
				
			
		
							
								
								
									
										103
									
								
								src/main/java/tech/iBeans/POSware/Lite/OnPayment.form
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										103
									
								
								src/main/java/tech/iBeans/POSware/Lite/OnPayment.form
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,103 @@ | |||
| <?xml version="1.0" encoding="UTF-8" ?> | ||||
| 
 | ||||
| <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> | ||||
|   <AuxValues> | ||||
|     <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> | ||||
|     <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> | ||||
|     <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> | ||||
|     <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> | ||||
|     <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> | ||||
|     <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> | ||||
|     <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> | ||||
|     <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> | ||||
|     <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> | ||||
|     <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/> | ||||
|   </AuxValues> | ||||
| 
 | ||||
|   <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> | ||||
|   <SubComponents> | ||||
|     <Container class="javax.swing.JPanel" name="jPanel_actions"> | ||||
|       <Constraints> | ||||
|         <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription"> | ||||
|           <BorderConstraints direction="Last"/> | ||||
|         </Constraint> | ||||
|       </Constraints> | ||||
| 
 | ||||
|       <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/> | ||||
|       <SubComponents> | ||||
|         <Component class="javax.swing.JButton" name="jButton_action_cancel"> | ||||
|           <Properties> | ||||
|             <Property name="text" type="java.lang.String" value="Cancel"/> | ||||
|             <Property name="actionCommand" type="java.lang.String" value="action_cancel"/> | ||||
|           </Properties> | ||||
|         </Component> | ||||
|         <Component class="javax.swing.JButton" name="jButton_action_continue"> | ||||
|           <Properties> | ||||
|             <Property name="text" type="java.lang.String" value="Complete Transaction"/> | ||||
|             <Property name="actionCommand" type="java.lang.String" value="action_continue"/> | ||||
|           </Properties> | ||||
|         </Component> | ||||
|       </SubComponents> | ||||
|     </Container> | ||||
|     <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"/> | ||||
|         </Constraint> | ||||
|       </Constraints> | ||||
| 
 | ||||
|       <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> | ||||
|       <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> | ||||
|           </Constraints> | ||||
|         </Component> | ||||
|         <Component class="javax.swing.JTextField" name="jTextField_information_total_value"> | ||||
|           <Properties> | ||||
|             <Property name="editable" type="boolean" value="false"/> | ||||
|             <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> | ||||
|               <Font name="Dialog" size="18" style="1"/> | ||||
|             </Property> | ||||
|             <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"> | ||||
|               <Dimension value="[30, 26]"/> | ||||
|             </Property> | ||||
|             <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> | ||||
|           </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> | ||||
							
								
								
									
										88
									
								
								src/main/java/tech/iBeans/POSware/Lite/OnPayment.java
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										88
									
								
								src/main/java/tech/iBeans/POSware/Lite/OnPayment.java
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,88 @@ | |||
| /* | ||||
|  * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | ||||
|  * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JPanel.java to edit this template | ||||
|  */ | ||||
| package tech.iBeans.POSware.Lite; | ||||
| 
 | ||||
| /** | ||||
|  * | ||||
|  * @author eleven | ||||
|  */ | ||||
| public class OnPayment extends javax.swing.JPanel { | ||||
| 
 | ||||
|     /** | ||||
|      * Creates new form OnPayment | ||||
|      */ | ||||
|     public OnPayment() { | ||||
|         initComponents(); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * 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() { | ||||
| 
 | ||||
|         jPanel_actions = new javax.swing.JPanel(); | ||||
|         jButton_action_cancel = new javax.swing.JButton(); | ||||
|         jButton_action_continue = new javax.swing.JButton(); | ||||
|         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(); | ||||
| 
 | ||||
|         setLayout(new java.awt.BorderLayout()); | ||||
| 
 | ||||
|         jButton_action_cancel.setText("Cancel"); | ||||
|         jButton_action_cancel.setActionCommand("action_cancel"); | ||||
|         jPanel_actions.add(jButton_action_cancel); | ||||
| 
 | ||||
|         jButton_action_continue.setText("Complete Transaction"); | ||||
|         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()); | ||||
| 
 | ||||
|         jLabel_information_total.setText("Total"); | ||||
|         jPanel_information.add(jLabel_information_total, java.awt.BorderLayout.WEST); | ||||
| 
 | ||||
|         jTextField_information_total_value.setEditable(false); | ||||
|         jTextField_information_total_value.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N | ||||
|         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); | ||||
| 
 | ||||
|         add(jPanel_information, java.awt.BorderLayout.PAGE_START); | ||||
| 
 | ||||
|         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); | ||||
|     }// </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_total; | ||||
|     private javax.swing.JPanel jPanel1; | ||||
|     private javax.swing.JPanel jPanel_actions; | ||||
|     private javax.swing.JPanel jPanel_information; | ||||
|     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