├── screenshot1.png ├── JavaPOS ├── dist │ ├── JavaPOS.jar │ ├── lib │ │ └── AbsoluteLayout.jar │ └── README.TXT ├── manifest.mf ├── src │ ├── image │ │ ├── lemons.jpg │ │ ├── lime.jpg │ │ ├── potatoes.jpg │ │ ├── tomatoes.jpg │ │ ├── pineapples.jpg │ │ ├── red apples.jpg │ │ ├── red cabbage.jpg │ │ ├── red onions.jpg │ │ ├── strawberry.jpg │ │ ├── white onion.jpg │ │ ├── green apples.jpg │ │ ├── mixed lettuce.jpg │ │ ├── red capsicum.jpg │ │ ├── spring onion.jpg │ │ ├── white cabbage.jpg │ │ ├── green capsicum.jpg │ │ ├── imported oranges.jpg │ │ └── yellow capsicum.jpg │ ├── JavaPOS.java │ └── JavaPOS.form ├── build │ ├── classes │ │ ├── JavaPOS.class │ │ ├── JavaPOS$1.class │ │ ├── JavaPOS$10.class │ │ ├── JavaPOS$11.class │ │ ├── JavaPOS$12.class │ │ ├── JavaPOS$13.class │ │ ├── JavaPOS$14.class │ │ ├── JavaPOS$15.class │ │ ├── JavaPOS$16.class │ │ ├── JavaPOS$17.class │ │ ├── JavaPOS$18.class │ │ ├── JavaPOS$19.class │ │ ├── JavaPOS$2.class │ │ ├── JavaPOS$20.class │ │ ├── JavaPOS$21.class │ │ ├── JavaPOS$22.class │ │ ├── JavaPOS$23.class │ │ ├── JavaPOS$24.class │ │ ├── JavaPOS$25.class │ │ ├── JavaPOS$26.class │ │ ├── JavaPOS$27.class │ │ ├── JavaPOS$28.class │ │ ├── JavaPOS$29.class │ │ ├── JavaPOS$3.class │ │ ├── JavaPOS$30.class │ │ ├── JavaPOS$31.class │ │ ├── JavaPOS$32.class │ │ ├── JavaPOS$33.class │ │ ├── JavaPOS$34.class │ │ ├── JavaPOS$35.class │ │ ├── JavaPOS$36.class │ │ ├── JavaPOS$37.class │ │ ├── JavaPOS$38.class │ │ ├── JavaPOS$4.class │ │ ├── JavaPOS$5.class │ │ ├── JavaPOS$6.class │ │ ├── JavaPOS$7.class │ │ ├── JavaPOS$8.class │ │ ├── JavaPOS$9.class │ │ ├── image │ │ │ ├── lemons.jpg │ │ │ ├── lime.jpg │ │ │ ├── potatoes.jpg │ │ │ ├── tomatoes.jpg │ │ │ ├── pineapples.jpg │ │ │ ├── red apples.jpg │ │ │ ├── red cabbage.jpg │ │ │ ├── red onions.jpg │ │ │ ├── strawberry.jpg │ │ │ ├── white onion.jpg │ │ │ ├── green apples.jpg │ │ │ ├── mixed lettuce.jpg │ │ │ ├── red capsicum.jpg │ │ │ ├── spring onion.jpg │ │ │ ├── white cabbage.jpg │ │ │ ├── green capsicum.jpg │ │ │ ├── imported oranges.jpg │ │ │ └── yellow capsicum.jpg │ │ └── JavaPOS.form │ └── built-jar.properties ├── nbproject │ ├── private │ │ ├── private.properties │ │ └── private.xml │ ├── genfiles.properties │ ├── project.xml │ └── project.properties └── build.xml └── README.md /screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/screenshot1.png -------------------------------------------------------------------------------- /JavaPOS/dist/JavaPOS.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/dist/JavaPOS.jar -------------------------------------------------------------------------------- /JavaPOS/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /JavaPOS/src/image/lemons.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/lemons.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/lime.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/lime.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/potatoes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/potatoes.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/tomatoes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/tomatoes.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/pineapples.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/pineapples.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/red apples.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/red apples.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/red cabbage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/red cabbage.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/red onions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/red onions.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/strawberry.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/strawberry.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/white onion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/white onion.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS.class -------------------------------------------------------------------------------- /JavaPOS/dist/lib/AbsoluteLayout.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/dist/lib/AbsoluteLayout.jar -------------------------------------------------------------------------------- /JavaPOS/src/image/green apples.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/green apples.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/mixed lettuce.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/mixed lettuce.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/red capsicum.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/red capsicum.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/spring onion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/spring onion.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/white cabbage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/white cabbage.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$1.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$10.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$10.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$11.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$11.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$12.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$12.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$13.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$13.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$14.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$14.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$15.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$15.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$16.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$16.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$17.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$17.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$18.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$18.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$19.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$19.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$2.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$20.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$20.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$21.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$21.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$22.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$22.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$23.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$23.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$24.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$24.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$25.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$25.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$26.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$26.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$27.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$27.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$28.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$28.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$29.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$29.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$3.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$30.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$30.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$31.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$31.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$32.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$32.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$33.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$33.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$34.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$34.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$35.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$35.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$36.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$36.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$37.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$37.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$38.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$38.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$4.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$5.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$6.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$6.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$7.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$7.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$8.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$8.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS$9.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/JavaPOS$9.class -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/lemons.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/lemons.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/lime.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/lime.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/green capsicum.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/green capsicum.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/imported oranges.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/imported oranges.jpg -------------------------------------------------------------------------------- /JavaPOS/src/image/yellow capsicum.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/src/image/yellow capsicum.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/potatoes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/potatoes.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/tomatoes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/tomatoes.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/pineapples.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/pineapples.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/red apples.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/red apples.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/red cabbage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/red cabbage.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/red onions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/red onions.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/strawberry.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/strawberry.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/white onion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/white onion.jpg -------------------------------------------------------------------------------- /JavaPOS/build/built-jar.properties: -------------------------------------------------------------------------------- 1 | #Wed, 16 Feb 2022 15:43:46 +0300 2 | 3 | 4 | C\:\\Users\\zachariah\\Documents\\NetBeansProjects\\JavaPOS= 5 | -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/green apples.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/green apples.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/mixed lettuce.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/mixed lettuce.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/red capsicum.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/red capsicum.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/spring onion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/spring onion.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/white cabbage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/white cabbage.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/green capsicum.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/green capsicum.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/imported oranges.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/imported oranges.jpg -------------------------------------------------------------------------------- /JavaPOS/build/classes/image/yellow capsicum.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ianemwel679/Point-of-Sales/HEAD/JavaPOS/build/classes/image/yellow capsicum.jpg -------------------------------------------------------------------------------- /JavaPOS/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\PC\\AppData\\Roaming\\NetBeans\\18\\build.properties 3 | -------------------------------------------------------------------------------- /JavaPOS/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=b4716b04 2 | build.xml.script.CRC32=9805a304 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.100.0.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=b4716b04 7 | nbproject/build-impl.xml.script.CRC32=f2500aa6 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.100.0.48 9 | -------------------------------------------------------------------------------- /JavaPOS/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | JavaPOS 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /JavaPOS/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | file:/D:/JavaPOS/build.xml 7 | file:/D:/JavaPOS/src/JavaPOS.java 8 | file:/D:/JavaPOS/build/classes/JavaPOS.form 9 | file:/D:/JavaPOS/manifest.mf 10 | file:/D:/JavaPOS/dist/README.TXT 11 | file:/D:/JavaPOS/nbproject/build-impl.xml 12 | file:/D:/JavaPOS/nbproject/genfiles.properties 13 | file:/D:/JavaPOS/nbproject/project.xml 14 | file:/D:/JavaPOS/nbproject/project.properties 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /JavaPOS/dist/README.TXT: -------------------------------------------------------------------------------- 1 | ======================== 2 | BUILD OUTPUT DESCRIPTION 3 | ======================== 4 | 5 | When you build an Java application project that has a main class, the IDE 6 | automatically copies all of the JAR 7 | files on the projects classpath to your projects dist/lib folder. The IDE 8 | also adds each of the JAR files to the Class-Path element in the application 9 | JAR files manifest file (MANIFEST.MF). 10 | 11 | To run the project from the command line, go to the dist folder and 12 | type the following: 13 | 14 | java -jar "JavaPOS.jar" 15 | 16 | To distribute this project, zip up the dist folder (including the lib folder) 17 | and distribute the ZIP file. 18 | 19 | Notes: 20 | 21 | * If two JAR files on the project classpath have the same name, only the first 22 | JAR file is copied to the lib folder. 23 | * Only JAR files are copied to the lib folder. 24 | If the classpath contains other types of files or folders, these files (folders) 25 | are not copied. 26 | * If a library on the projects classpath also has a Class-Path element 27 | specified in the manifest,the content of the Class-Path element has to be on 28 | the projects runtime path. 29 | * To set a main class in a standard Java project, right-click the project node 30 | in the Projects window and choose Properties. Then click Run and enter the 31 | class name in the Main Class field. Alternatively, you can manually type the 32 | class name in the manifest Main-Class element. 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Point of Sales 2 | 3 | Point of Sale Application Developed in Java NetBeans 4 | 5 | ## Getting Started 6 | 7 | Load the project folder on Apache Netbeans compile and run the JavaPOS.java program 8 | 9 | ### Prerequisites 10 | 11 | Java jdk 12 | Apache Netbeans 13 | Download and install Barcode: https://www.dafont.com/code39.font 14 | 15 | ### Installation 16 | When you build an Java application project that has a main class, the IDE 17 | automatically copies all of the JAR files on the projects classpath to your projects dist/lib folder. The IDE 18 | also adds each of the JAR files to the Class-Path element in the application 19 | JAR files manifest file (MANIFEST.MF). 20 | 21 | To distribute this project, zip up the dist folder (including the lib folder) 22 | and distribute the ZIP file. 23 | To run the project load the project folder on Apache Netbeans compile and run the JavaPOS.java program 24 | To run the project from the command line, follow these steps: 25 | 26 | 1. Navigate to the `dist` folder in your project directory. 27 | 2. Type the following command: 28 | 29 | ```shell 30 | java -jar "JavaPOS.jar" 31 | 32 | ## Usage 33 | 34 | This is a java point of sales application system that allows you to select and add products automatically calculating the price,remove products from list,input cash and calculate change based on products after payment is made,automatically generate barcode and will print a receipt in pdf form saving it locally. 35 | 36 | ![Point Of Sales Screenshot](screenshot1.png) 37 | 38 | ## Features 39 | 40 | -Buttons with pictures of products 41 | -Automatically adds prices after click 42 | -Provision for list of products being selected and products can also be removed from the list.The list shows Item,Quantity and Amount 43 | -Input for cash figure 44 | -Calculates change to give to customer 45 | -Barcode generator 46 | -Prints receipt in pdf form 47 | 48 | 49 | ## Contributing 50 | 51 | Contributions are welcome! If you find any issues or have ideas for improvements, feel free to submit a pull request. 52 | 53 | ## License 54 | 55 | This project is licensed under the MIT License . 56 | 57 | -------------------------------------------------------------------------------- /JavaPOS/nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processor.options= 4 | annotation.processing.processors.list= 5 | annotation.processing.run.all.processors=true 6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 7 | build.classes.dir=${build.dir}/classes 8 | build.classes.excludes=**/*.java,**/*.form 9 | # This directory is removed when the project is cleaned: 10 | build.dir=build 11 | build.generated.dir=${build.dir}/generated 12 | build.generated.sources.dir=${build.dir}/generated-sources 13 | # Only compile against the classpath explicitly listed here: 14 | build.sysclasspath=ignore 15 | build.test.classes.dir=${build.dir}/test/classes 16 | build.test.results.dir=${build.dir}/test/results 17 | # Uncomment to specify the preferred debugger connection transport: 18 | #debug.transport=dt_socket 19 | debug.classpath=\ 20 | ${run.classpath} 21 | debug.modulepath=\ 22 | ${run.modulepath} 23 | debug.test.classpath=\ 24 | ${run.test.classpath} 25 | debug.test.modulepath=\ 26 | ${run.test.modulepath} 27 | # Files in build.classes.dir which should be excluded from distribution jar 28 | dist.archive.excludes= 29 | # This directory is removed when the project is cleaned: 30 | dist.dir=dist 31 | dist.jar=${dist.dir}/JavaPOS.jar 32 | dist.javadoc.dir=${dist.dir}/javadoc 33 | dist.jlink.dir=${dist.dir}/jlink 34 | dist.jlink.output=${dist.jlink.dir}/JavaPOS 35 | excludes= 36 | includes=** 37 | jar.compress=false 38 | javac.classpath=\ 39 | ${libs.absolutelayout.classpath} 40 | # Space-separated list of extra javac options 41 | javac.compilerargs= 42 | javac.deprecation=false 43 | javac.external.vm=true 44 | javac.modulepath= 45 | javac.processormodulepath= 46 | javac.processorpath=\ 47 | ${javac.classpath} 48 | javac.source=16 49 | javac.target=16 50 | javac.test.classpath=\ 51 | ${javac.classpath}:\ 52 | ${build.classes.dir} 53 | javac.test.modulepath=\ 54 | ${javac.modulepath} 55 | javac.test.processorpath=\ 56 | ${javac.test.classpath} 57 | javadoc.additionalparam= 58 | javadoc.author=false 59 | javadoc.encoding=${source.encoding} 60 | javadoc.html5=false 61 | javadoc.noindex=false 62 | javadoc.nonavbar=false 63 | javadoc.notree=false 64 | javadoc.private=false 65 | javadoc.splitindex=true 66 | javadoc.use=true 67 | javadoc.version=false 68 | javadoc.windowtitle= 69 | # The jlink additional root modules to resolve 70 | jlink.additionalmodules= 71 | # The jlink additional command line parameters 72 | jlink.additionalparam= 73 | jlink.launcher=true 74 | jlink.launcher.name=JavaPOS 75 | main.class=JavaPOS 76 | manifest.file=manifest.mf 77 | meta.inf.dir=${src.dir}/META-INF 78 | mkdist.disabled=false 79 | platform.active=default_platform 80 | run.classpath=\ 81 | ${javac.classpath}:\ 82 | ${build.classes.dir} 83 | # Space-separated list of JVM arguments used when running the project. 84 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 85 | # To set system properties for unit tests define test-sys-prop.name=value: 86 | run.jvmargs= 87 | run.modulepath=\ 88 | ${javac.modulepath} 89 | run.test.classpath=\ 90 | ${javac.test.classpath}:\ 91 | ${build.test.classes.dir} 92 | run.test.modulepath=\ 93 | ${javac.test.modulepath} 94 | source.encoding=UTF-8 95 | src.dir=src 96 | test.src.dir=test 97 | -------------------------------------------------------------------------------- /JavaPOS/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Builds, tests, and runs the project JavaPOS. 12 | 13 | 73 | 74 | -------------------------------------------------------------------------------- /JavaPOS/src/JavaPOS.java: -------------------------------------------------------------------------------- 1 | 2 | import java.text.MessageFormat; 3 | import javax.swing.JFrame; 4 | import javax.swing.JOptionPane; 5 | import javax.swing.JTable; 6 | import javax.swing.table.DefaultTableModel; 7 | 8 | 9 | /* 10 | * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license 11 | * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template 12 | */ 13 | 14 | /** 15 | * 16 | * @author zachariah 17 | */ 18 | public class JavaPOS extends javax.swing.JFrame { 19 | 20 | /** 21 | * Creates new form JavaPOS 22 | */ 23 | public JavaPOS() { 24 | initComponents(); 25 | } 26 | 27 | /** 28 | * This method is called from within the constructor to initialize the form. 29 | * WARNING: Do NOT modify this code. The content of this method is always 30 | * regenerated by the Form Editor. 31 | */ 32 | @SuppressWarnings("unchecked") 33 | // //GEN-BEGIN:initComponents 34 | private void initComponents() { 35 | 36 | jColorChooser1 = new javax.swing.JColorChooser(); 37 | jColorChooser2 = new javax.swing.JColorChooser(); 38 | jColorChooser3 = new javax.swing.JColorChooser(); 39 | jColorChooser4 = new javax.swing.JColorChooser(); 40 | jColorChooser5 = new javax.swing.JColorChooser(); 41 | jColorChooser6 = new javax.swing.JColorChooser(); 42 | jColorChooser7 = new javax.swing.JColorChooser(); 43 | jColorChooser8 = new javax.swing.JColorChooser(); 44 | jPanel2 = new javax.swing.JPanel(); 45 | jbtn7 = new javax.swing.JButton(); 46 | jbtn8 = new javax.swing.JButton(); 47 | jbtn9 = new javax.swing.JButton(); 48 | jbtn4 = new javax.swing.JButton(); 49 | jbtn5 = new javax.swing.JButton(); 50 | jbtn6 = new javax.swing.JButton(); 51 | jbtn1 = new javax.swing.JButton(); 52 | jbtn2 = new javax.swing.JButton(); 53 | jbtn3 = new javax.swing.JButton(); 54 | jbtn0 = new javax.swing.JButton(); 55 | jbtnDot = new javax.swing.JButton(); 56 | jbtnC = new javax.swing.JButton(); 57 | jScrollPane1 = new javax.swing.JScrollPane(); 58 | jTable1 = new javax.swing.JTable(); 59 | jPanel5 = new javax.swing.JPanel(); 60 | jPanel4 = new javax.swing.JPanel(); 61 | jbtnRemove = new javax.swing.JButton(); 62 | jbtnPay = new javax.swing.JButton(); 63 | jbtnExit = new javax.swing.JButton(); 64 | jbtnPrint = new javax.swing.JButton(); 65 | jbtnReset = new javax.swing.JButton(); 66 | jPanel6 = new javax.swing.JPanel(); 67 | jLabel1 = new javax.swing.JLabel(); 68 | jLabel2 = new javax.swing.JLabel(); 69 | jLabel3 = new javax.swing.JLabel(); 70 | jtxtTotal = new javax.swing.JTextField(); 71 | jtxtSubTotal = new javax.swing.JTextField(); 72 | jtxtTax = new javax.swing.JTextField(); 73 | jPanel7 = new javax.swing.JPanel(); 74 | jLabel4 = new javax.swing.JLabel(); 75 | jLabel5 = new javax.swing.JLabel(); 76 | jLabel6 = new javax.swing.JLabel(); 77 | jtxtDisplay = new javax.swing.JTextField(); 78 | jtxtChange = new javax.swing.JTextField(); 79 | jcboPayment = new javax.swing.JComboBox<>(); 80 | jtxtBarCode = new javax.swing.JTextField(); 81 | jPanel1 = new javax.swing.JPanel(); 82 | jbtngreencapsicum = new javax.swing.JButton(); 83 | jbtngreenapples = new javax.swing.JButton(); 84 | jbtnlemons = new javax.swing.JButton(); 85 | jbtnimportedoranges = new javax.swing.JButton(); 86 | jbtnmixedlettuce = new javax.swing.JButton(); 87 | jbtnlime = new javax.swing.JButton(); 88 | jbtnpineapples = new javax.swing.JButton(); 89 | jbtnpotatoes = new javax.swing.JButton(); 90 | jbtnredapples = new javax.swing.JButton(); 91 | jbtnredcabbage = new javax.swing.JButton(); 92 | jbtnredcapsicum = new javax.swing.JButton(); 93 | jbtnredonion = new javax.swing.JButton(); 94 | jbtnspringonions = new javax.swing.JButton(); 95 | jbtnstrawberry = new javax.swing.JButton(); 96 | jbtntomatoes = new javax.swing.JButton(); 97 | jbtnwhitecabbage = new javax.swing.JButton(); 98 | jbtnwhiteonions = new javax.swing.JButton(); 99 | jbtnyellowcapsicum = new javax.swing.JButton(); 100 | 101 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 102 | setBackground(new java.awt.Color(204, 255, 204)); 103 | getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 104 | 105 | jPanel2.setForeground(new java.awt.Color(204, 204, 204)); 106 | jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 107 | 108 | jbtn7.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 109 | jbtn7.setText("7"); 110 | jbtn7.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 111 | jbtn7.addActionListener(new java.awt.event.ActionListener() { 112 | public void actionPerformed(java.awt.event.ActionEvent evt) { 113 | jbtn7ActionPerformed(evt); 114 | } 115 | }); 116 | jPanel2.add(jbtn7, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 80, 70)); 117 | 118 | jbtn8.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 119 | jbtn8.setText("8"); 120 | jbtn8.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 121 | jbtn8.addActionListener(new java.awt.event.ActionListener() { 122 | public void actionPerformed(java.awt.event.ActionEvent evt) { 123 | jbtn8ActionPerformed(evt); 124 | } 125 | }); 126 | jPanel2.add(jbtn8, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 10, 80, 70)); 127 | 128 | jbtn9.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 129 | jbtn9.setText("9"); 130 | jbtn9.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 131 | jbtn9.addActionListener(new java.awt.event.ActionListener() { 132 | public void actionPerformed(java.awt.event.ActionEvent evt) { 133 | jbtn9ActionPerformed(evt); 134 | } 135 | }); 136 | jPanel2.add(jbtn9, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 10, 80, 70)); 137 | 138 | jbtn4.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 139 | jbtn4.setText("4"); 140 | jbtn4.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 141 | jbtn4.addActionListener(new java.awt.event.ActionListener() { 142 | public void actionPerformed(java.awt.event.ActionEvent evt) { 143 | jbtn4ActionPerformed(evt); 144 | } 145 | }); 146 | jPanel2.add(jbtn4, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 90, 80, 70)); 147 | 148 | jbtn5.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 149 | jbtn5.setText("5"); 150 | jbtn5.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 151 | jbtn5.addActionListener(new java.awt.event.ActionListener() { 152 | public void actionPerformed(java.awt.event.ActionEvent evt) { 153 | jbtn5ActionPerformed(evt); 154 | } 155 | }); 156 | jPanel2.add(jbtn5, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 90, 80, 70)); 157 | 158 | jbtn6.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 159 | jbtn6.setText("6"); 160 | jbtn6.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 161 | jbtn6.addActionListener(new java.awt.event.ActionListener() { 162 | public void actionPerformed(java.awt.event.ActionEvent evt) { 163 | jbtn6ActionPerformed(evt); 164 | } 165 | }); 166 | jPanel2.add(jbtn6, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 90, 80, 70)); 167 | 168 | jbtn1.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 169 | jbtn1.setText("1"); 170 | jbtn1.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 171 | jbtn1.addActionListener(new java.awt.event.ActionListener() { 172 | public void actionPerformed(java.awt.event.ActionEvent evt) { 173 | jbtn1ActionPerformed(evt); 174 | } 175 | }); 176 | jPanel2.add(jbtn1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 170, 80, 70)); 177 | 178 | jbtn2.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 179 | jbtn2.setText("2"); 180 | jbtn2.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 181 | jbtn2.addActionListener(new java.awt.event.ActionListener() { 182 | public void actionPerformed(java.awt.event.ActionEvent evt) { 183 | jbtn2ActionPerformed(evt); 184 | } 185 | }); 186 | jPanel2.add(jbtn2, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 170, 80, 70)); 187 | 188 | jbtn3.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 189 | jbtn3.setText("3"); 190 | jbtn3.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 191 | jbtn3.addActionListener(new java.awt.event.ActionListener() { 192 | public void actionPerformed(java.awt.event.ActionEvent evt) { 193 | jbtn3ActionPerformed(evt); 194 | } 195 | }); 196 | jPanel2.add(jbtn3, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 170, 80, 70)); 197 | 198 | jbtn0.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 199 | jbtn0.setText("0"); 200 | jbtn0.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 201 | jbtn0.addActionListener(new java.awt.event.ActionListener() { 202 | public void actionPerformed(java.awt.event.ActionEvent evt) { 203 | jbtn0ActionPerformed(evt); 204 | } 205 | }); 206 | jPanel2.add(jbtn0, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 250, 80, 70)); 207 | 208 | jbtnDot.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 209 | jbtnDot.setText("."); 210 | jbtnDot.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 211 | jbtnDot.addActionListener(new java.awt.event.ActionListener() { 212 | public void actionPerformed(java.awt.event.ActionEvent evt) { 213 | jbtnDotActionPerformed(evt); 214 | } 215 | }); 216 | jPanel2.add(jbtnDot, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 250, 80, 70)); 217 | 218 | jbtnC.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 219 | jbtnC.setText("C"); 220 | jbtnC.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 221 | jbtnC.addActionListener(new java.awt.event.ActionListener() { 222 | public void actionPerformed(java.awt.event.ActionEvent evt) { 223 | jbtnCActionPerformed(evt); 224 | } 225 | }); 226 | jPanel2.add(jbtnC, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 250, 80, 70)); 227 | 228 | getContentPane().add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(1000, 10, 280, 400)); 229 | 230 | jTable1.setBackground(new java.awt.Color(204, 255, 102)); 231 | jTable1.setModel(new javax.swing.table.DefaultTableModel( 232 | new Object [][] { 233 | 234 | }, 235 | new String [] { 236 | "Item", "Qty", "Amount" 237 | } 238 | )); 239 | jScrollPane1.setViewportView(jTable1); 240 | 241 | getContentPane().add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(710, 10, 270, 360)); 242 | 243 | jPanel5.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)); 244 | jPanel5.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 245 | 246 | jPanel4.setBackground(new java.awt.Color(204, 204, 204)); 247 | jPanel4.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)); 248 | jPanel4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 249 | 250 | jbtnRemove.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N 251 | jbtnRemove.setText("Remove"); 252 | jbtnRemove.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 253 | jbtnRemove.addActionListener(new java.awt.event.ActionListener() { 254 | public void actionPerformed(java.awt.event.ActionEvent evt) { 255 | jbtnRemoveActionPerformed(evt); 256 | } 257 | }); 258 | jPanel4.add(jbtnRemove, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 50, 110, 40)); 259 | 260 | jbtnPay.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N 261 | jbtnPay.setText("Pay"); 262 | jbtnPay.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 263 | jbtnPay.addActionListener(new java.awt.event.ActionListener() { 264 | public void actionPerformed(java.awt.event.ActionEvent evt) { 265 | jbtnPayActionPerformed(evt); 266 | } 267 | }); 268 | jPanel4.add(jbtnPay, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 110, 40)); 269 | 270 | jbtnExit.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N 271 | jbtnExit.setText("Exit"); 272 | jbtnExit.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 273 | jbtnExit.addActionListener(new java.awt.event.ActionListener() { 274 | public void actionPerformed(java.awt.event.ActionEvent evt) { 275 | jbtnExitActionPerformed(evt); 276 | } 277 | }); 278 | jPanel4.add(jbtnExit, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 90, 240, 30)); 279 | 280 | jbtnPrint.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N 281 | jbtnPrint.setText("Print"); 282 | jbtnPrint.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 283 | jbtnPrint.addActionListener(new java.awt.event.ActionListener() { 284 | public void actionPerformed(java.awt.event.ActionEvent evt) { 285 | jbtnPrintActionPerformed(evt); 286 | } 287 | }); 288 | jPanel4.add(jbtnPrint, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 50, 110, 40)); 289 | 290 | jbtnReset.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N 291 | jbtnReset.setText("Reset"); 292 | jbtnReset.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED)); 293 | jbtnReset.addActionListener(new java.awt.event.ActionListener() { 294 | public void actionPerformed(java.awt.event.ActionEvent evt) { 295 | jbtnResetActionPerformed(evt); 296 | } 297 | }); 298 | jPanel4.add(jbtnReset, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 10, 110, 40)); 299 | 300 | jPanel5.add(jPanel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(990, 10, 260, 140)); 301 | 302 | jPanel6.setBackground(new java.awt.Color(204, 204, 204)); 303 | jPanel6.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)); 304 | jPanel6.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 305 | 306 | jLabel1.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N 307 | jLabel1.setText("Total"); 308 | jPanel6.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 90, -1, -1)); 309 | 310 | jLabel2.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N 311 | jLabel2.setText("SubTotal"); 312 | jPanel6.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, -1, -1)); 313 | 314 | jLabel3.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N 315 | jLabel3.setText("Tax"); 316 | jPanel6.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 50, -1, -1)); 317 | 318 | jtxtTotal.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N 319 | jPanel6.add(jtxtTotal, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 90, 160, -1)); 320 | 321 | jtxtSubTotal.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N 322 | jPanel6.add(jtxtSubTotal, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 10, 160, -1)); 323 | 324 | jtxtTax.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N 325 | jtxtTax.addActionListener(new java.awt.event.ActionListener() { 326 | public void actionPerformed(java.awt.event.ActionEvent evt) { 327 | jtxtTaxActionPerformed(evt); 328 | } 329 | }); 330 | jPanel6.add(jtxtTax, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 50, 160, -1)); 331 | 332 | jPanel5.add(jPanel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 290, 140)); 333 | 334 | jPanel7.setBackground(new java.awt.Color(204, 204, 204)); 335 | jPanel7.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)); 336 | jPanel7.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 337 | 338 | jLabel4.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N 339 | jLabel4.setText("Cash"); 340 | jPanel7.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 50, -1, -1)); 341 | 342 | jLabel5.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N 343 | jLabel5.setText("Payment Method"); 344 | jPanel7.add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, -1, -1)); 345 | 346 | jLabel6.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N 347 | jLabel6.setText("Change"); 348 | jPanel7.add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 90, -1, -1)); 349 | 350 | jtxtDisplay.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N 351 | jPanel7.add(jtxtDisplay, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 50, 180, -1)); 352 | 353 | jtxtChange.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N 354 | jPanel7.add(jtxtChange, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 90, 180, -1)); 355 | 356 | jcboPayment.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N 357 | jcboPayment.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { "Cash", "Visa Card", "Master Card" })); 358 | jcboPayment.addActionListener(new java.awt.event.ActionListener() { 359 | public void actionPerformed(java.awt.event.ActionEvent evt) { 360 | jcboPaymentActionPerformed(evt); 361 | } 362 | }); 363 | jPanel7.add(jcboPayment, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 10, 180, 30)); 364 | 365 | jPanel5.add(jPanel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(330, 10, 380, 140)); 366 | 367 | getContentPane().add(jPanel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 430, 1370, 160)); 368 | 369 | jtxtBarCode.setFont(new java.awt.Font("C39HrP24DlTt", 0, 36)); // NOI18N 370 | getContentPane().add(jtxtBarCode, new org.netbeans.lib.awtextra.AbsoluteConstraints(710, 370, 270, 50)); 371 | 372 | jPanel1.setBackground(new java.awt.Color(204, 204, 204)); 373 | jPanel1.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED)); 374 | jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); 375 | 376 | jbtngreencapsicum.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 377 | jbtngreencapsicum.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/green capsicum.jpg"))); // NOI18N 378 | jbtngreencapsicum.addActionListener(new java.awt.event.ActionListener() { 379 | public void actionPerformed(java.awt.event.ActionEvent evt) { 380 | jbtngreencapsicumActionPerformed(evt); 381 | } 382 | }); 383 | jPanel1.add(jbtngreencapsicum, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 10, 100, 90)); 384 | 385 | jbtngreenapples.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 386 | jbtngreenapples.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/green apples.jpg"))); // NOI18N 387 | jbtngreenapples.addActionListener(new java.awt.event.ActionListener() { 388 | public void actionPerformed(java.awt.event.ActionEvent evt) { 389 | jbtngreenapplesActionPerformed(evt); 390 | } 391 | }); 392 | jPanel1.add(jbtngreenapples, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, 100, 90)); 393 | 394 | jbtnlemons.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 395 | jbtnlemons.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/lemons.jpg"))); // NOI18N 396 | jbtnlemons.addActionListener(new java.awt.event.ActionListener() { 397 | public void actionPerformed(java.awt.event.ActionEvent evt) { 398 | jbtnlemonsActionPerformed(evt); 399 | } 400 | }); 401 | jPanel1.add(jbtnlemons, new org.netbeans.lib.awtextra.AbsoluteConstraints(350, 10, 100, 90)); 402 | 403 | jbtnimportedoranges.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 404 | jbtnimportedoranges.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/imported oranges.jpg"))); // NOI18N 405 | jbtnimportedoranges.addActionListener(new java.awt.event.ActionListener() { 406 | public void actionPerformed(java.awt.event.ActionEvent evt) { 407 | jbtnimportedorangesActionPerformed(evt); 408 | } 409 | }); 410 | jPanel1.add(jbtnimportedoranges, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 10, 100, 90)); 411 | 412 | jbtnmixedlettuce.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 413 | jbtnmixedlettuce.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/mixed lettuce.jpg"))); // NOI18N 414 | jbtnmixedlettuce.addActionListener(new java.awt.event.ActionListener() { 415 | public void actionPerformed(java.awt.event.ActionEvent evt) { 416 | jbtnmixedlettuceActionPerformed(evt); 417 | } 418 | }); 419 | jPanel1.add(jbtnmixedlettuce, new org.netbeans.lib.awtextra.AbsoluteConstraints(570, 10, 100, 90)); 420 | 421 | jbtnlime.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 422 | jbtnlime.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/lime.jpg"))); // NOI18N 423 | jbtnlime.addActionListener(new java.awt.event.ActionListener() { 424 | public void actionPerformed(java.awt.event.ActionEvent evt) { 425 | jbtnlimeActionPerformed(evt); 426 | } 427 | }); 428 | jPanel1.add(jbtnlime, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 10, 100, 90)); 429 | 430 | jbtnpineapples.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 431 | jbtnpineapples.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/pineapples.jpg"))); // NOI18N 432 | jbtnpineapples.addActionListener(new java.awt.event.ActionListener() { 433 | public void actionPerformed(java.awt.event.ActionEvent evt) { 434 | jbtnpineapplesActionPerformed(evt); 435 | } 436 | }); 437 | jPanel1.add(jbtnpineapples, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 120, 100, 90)); 438 | 439 | jbtnpotatoes.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 440 | jbtnpotatoes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/potatoes.jpg"))); // NOI18N 441 | jbtnpotatoes.addActionListener(new java.awt.event.ActionListener() { 442 | public void actionPerformed(java.awt.event.ActionEvent evt) { 443 | jbtnpotatoesActionPerformed(evt); 444 | } 445 | }); 446 | jPanel1.add(jbtnpotatoes, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 120, 100, 90)); 447 | 448 | jbtnredapples.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 449 | jbtnredapples.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/red apples.jpg"))); // NOI18N 450 | jbtnredapples.addActionListener(new java.awt.event.ActionListener() { 451 | public void actionPerformed(java.awt.event.ActionEvent evt) { 452 | jbtnredapplesActionPerformed(evt); 453 | } 454 | }); 455 | jPanel1.add(jbtnredapples, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 120, 100, 90)); 456 | 457 | jbtnredcabbage.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 458 | jbtnredcabbage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/red cabbage.jpg"))); // NOI18N 459 | jbtnredcabbage.addActionListener(new java.awt.event.ActionListener() { 460 | public void actionPerformed(java.awt.event.ActionEvent evt) { 461 | jbtnredcabbageActionPerformed(evt); 462 | } 463 | }); 464 | jPanel1.add(jbtnredcabbage, new org.netbeans.lib.awtextra.AbsoluteConstraints(350, 120, 100, 90)); 465 | 466 | jbtnredcapsicum.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 467 | jbtnredcapsicum.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/red capsicum.jpg"))); // NOI18N 468 | jbtnredcapsicum.addActionListener(new java.awt.event.ActionListener() { 469 | public void actionPerformed(java.awt.event.ActionEvent evt) { 470 | jbtnredcapsicumActionPerformed(evt); 471 | } 472 | }); 473 | jPanel1.add(jbtnredcapsicum, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 120, 100, 90)); 474 | 475 | jbtnredonion.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 476 | jbtnredonion.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/red onions.jpg"))); // NOI18N 477 | jbtnredonion.addActionListener(new java.awt.event.ActionListener() { 478 | public void actionPerformed(java.awt.event.ActionEvent evt) { 479 | jbtnredonionActionPerformed(evt); 480 | } 481 | }); 482 | jPanel1.add(jbtnredonion, new org.netbeans.lib.awtextra.AbsoluteConstraints(570, 120, 100, 90)); 483 | 484 | jbtnspringonions.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 485 | jbtnspringonions.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/spring onion.jpg"))); // NOI18N 486 | jbtnspringonions.addActionListener(new java.awt.event.ActionListener() { 487 | public void actionPerformed(java.awt.event.ActionEvent evt) { 488 | jbtnspringonionsActionPerformed(evt); 489 | } 490 | }); 491 | jPanel1.add(jbtnspringonions, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 230, 100, 90)); 492 | 493 | jbtnstrawberry.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 494 | jbtnstrawberry.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/strawberry.jpg"))); // NOI18N 495 | jbtnstrawberry.addActionListener(new java.awt.event.ActionListener() { 496 | public void actionPerformed(java.awt.event.ActionEvent evt) { 497 | jbtnstrawberryActionPerformed(evt); 498 | } 499 | }); 500 | jPanel1.add(jbtnstrawberry, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 230, 100, 90)); 501 | 502 | jbtntomatoes.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 503 | jbtntomatoes.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/tomatoes.jpg"))); // NOI18N 504 | jbtntomatoes.addActionListener(new java.awt.event.ActionListener() { 505 | public void actionPerformed(java.awt.event.ActionEvent evt) { 506 | jbtntomatoesActionPerformed(evt); 507 | } 508 | }); 509 | jPanel1.add(jbtntomatoes, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 230, 100, 90)); 510 | 511 | jbtnwhitecabbage.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 512 | jbtnwhitecabbage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/white cabbage.jpg"))); // NOI18N 513 | jbtnwhitecabbage.addActionListener(new java.awt.event.ActionListener() { 514 | public void actionPerformed(java.awt.event.ActionEvent evt) { 515 | jbtnwhitecabbageActionPerformed(evt); 516 | } 517 | }); 518 | jPanel1.add(jbtnwhitecabbage, new org.netbeans.lib.awtextra.AbsoluteConstraints(350, 230, 100, 90)); 519 | 520 | jbtnwhiteonions.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 521 | jbtnwhiteonions.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/white onion.jpg"))); // NOI18N 522 | jbtnwhiteonions.addActionListener(new java.awt.event.ActionListener() { 523 | public void actionPerformed(java.awt.event.ActionEvent evt) { 524 | jbtnwhiteonionsActionPerformed(evt); 525 | } 526 | }); 527 | jPanel1.add(jbtnwhiteonions, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 230, 100, 90)); 528 | 529 | jbtnyellowcapsicum.setFont(new java.awt.Font("Tahoma", 1, 36)); // NOI18N 530 | jbtnyellowcapsicum.setIcon(new javax.swing.ImageIcon(getClass().getResource("/image/yellow capsicum.jpg"))); // NOI18N 531 | jbtnyellowcapsicum.addActionListener(new java.awt.event.ActionListener() { 532 | public void actionPerformed(java.awt.event.ActionEvent evt) { 533 | jbtnyellowcapsicumActionPerformed(evt); 534 | } 535 | }); 536 | jPanel1.add(jbtnyellowcapsicum, new org.netbeans.lib.awtextra.AbsoluteConstraints(570, 230, 100, 90)); 537 | 538 | getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 690, 410)); 539 | 540 | pack(); 541 | setLocationRelativeTo(null); 542 | }// //GEN-END:initComponents 543 | //=======================Functions================================================================== 544 | public void ItemCost() 545 | { 546 | double sum = 0; 547 | 548 | for (int i = 0; i < jTable1.getRowCount(); i++) 549 | { 550 | sum = sum + Double.parseDouble(jTable1.getValueAt(i, 2).toString()); 551 | } 552 | jtxtSubTotal.setText(Double.toString(sum)); 553 | double cTotal1 = Double.parseDouble(jtxtSubTotal.getText()); 554 | 555 | double cTax = (cTotal1 * 0)/100; 556 | String iTaxTotal = String.format("Ksh %.2f", cTax); 557 | jtxtTax.setText(iTaxTotal) ; 558 | 559 | String iSubTotal = String.format("Ksh %.2f", cTotal1); 560 | jtxtSubTotal.setText(iSubTotal) ; 561 | 562 | String iTotal = String.format("Ksh %.2f", cTotal1 + cTax ); 563 | jtxtTotal.setText(iTotal) ; 564 | 565 | String BarCode = String.format("Total is %.2f", cTotal1 + cTax ); 566 | jtxtBarCode .setText(BarCode); 567 | 568 | 569 | 570 | } 571 | 572 | //=======================Function Change================================================================== 573 | public void Change() 574 | { 575 | double sum =0; 576 | double tax =0; 577 | double cash = Double.parseDouble(jtxtDisplay.getText()); 578 | 579 | for (int i = 0; i < jTable1.getRowCount(); i++) 580 | { 581 | sum = sum + Double.parseDouble(jTable1.getValueAt(i, 2).toString()); 582 | } 583 | 584 | double cTax = (sum * 3.9)/100; 585 | double cChange = (cash - (sum + cTax)); 586 | 587 | String ChangeGiven = String.format("Ksh %.2f",cChange); 588 | jtxtChange.setText(ChangeGiven); 589 | 590 | } 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | private JFrame frame; 600 | private void jbtnExitActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnExitActionPerformed 601 | 602 | frame = new JFrame("Exit"); 603 | if (JOptionPane.showConfirmDialog(frame, "Are you sure you want to exit", "Point of Sale", JOptionPane.YES_NO_OPTION)== JOptionPane.YES_NO_OPTION) 604 | { 605 | System.exit(0); 606 | } 607 | }//GEN-LAST:event_jbtnExitActionPerformed 608 | 609 | private void jbtn7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn7ActionPerformed 610 | String Enternumber = jtxtDisplay.getText(); 611 | 612 | if(Enternumber.equals("")) 613 | { 614 | jtxtDisplay.setText(jbtn7.getText()); 615 | } 616 | else { 617 | Enternumber = jtxtDisplay.getText() + jbtn7.getText(); 618 | jtxtDisplay.setText(Enternumber); 619 | } 620 | }//GEN-LAST:event_jbtn7ActionPerformed 621 | 622 | private void jbtn8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn8ActionPerformed 623 | String Enternumber = jtxtDisplay.getText(); 624 | 625 | if(Enternumber.equals("")) 626 | { 627 | jtxtDisplay.setText(jbtn8.getText()); 628 | } 629 | else { 630 | Enternumber = jtxtDisplay.getText() + jbtn8.getText(); 631 | jtxtDisplay.setText(Enternumber); 632 | } 633 | }//GEN-LAST:event_jbtn8ActionPerformed 634 | 635 | private void jbtn9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn9ActionPerformed 636 | String Enternumber = jtxtDisplay.getText(); 637 | 638 | if(Enternumber.equals("")) 639 | { 640 | jtxtDisplay.setText(jbtn9.getText()); 641 | } 642 | else { 643 | Enternumber = jtxtDisplay.getText() + jbtn9.getText(); 644 | jtxtDisplay.setText(Enternumber); 645 | } 646 | }//GEN-LAST:event_jbtn9ActionPerformed 647 | 648 | private void jbtn4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn4ActionPerformed 649 | String Enternumber = jtxtDisplay.getText(); 650 | 651 | if(Enternumber.equals("")) 652 | { 653 | jtxtDisplay.setText(jbtn4.getText()); 654 | } 655 | else { 656 | Enternumber = jtxtDisplay.getText() + jbtn4.getText(); 657 | jtxtDisplay.setText(Enternumber); 658 | } 659 | }//GEN-LAST:event_jbtn4ActionPerformed 660 | 661 | private void jbtn5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn5ActionPerformed 662 | String Enternumber = jtxtDisplay.getText(); 663 | 664 | if(Enternumber.equals("")) 665 | { 666 | jtxtDisplay.setText(jbtn5.getText()); 667 | } 668 | else { 669 | Enternumber = jtxtDisplay.getText() + jbtn5.getText(); 670 | jtxtDisplay.setText(Enternumber); 671 | } 672 | }//GEN-LAST:event_jbtn5ActionPerformed 673 | 674 | private void jbtn6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn6ActionPerformed 675 | String Enternumber = jtxtDisplay.getText(); 676 | 677 | if(Enternumber.equals("")) 678 | { 679 | jtxtDisplay.setText(jbtn6.getText()); 680 | } 681 | else { 682 | Enternumber = jtxtDisplay.getText() + jbtn6.getText(); 683 | jtxtDisplay.setText(Enternumber); 684 | } 685 | }//GEN-LAST:event_jbtn6ActionPerformed 686 | 687 | private void jbtn1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn1ActionPerformed 688 | String Enternumber = jtxtDisplay.getText(); 689 | 690 | if(Enternumber.equals("")) 691 | { 692 | jtxtDisplay.setText(jbtn1.getText()); 693 | } 694 | else { 695 | Enternumber = jtxtDisplay.getText() + jbtn1.getText(); 696 | jtxtDisplay.setText(Enternumber); 697 | } 698 | }//GEN-LAST:event_jbtn1ActionPerformed 699 | 700 | private void jbtn2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn2ActionPerformed 701 | String Enternumber = jtxtDisplay.getText(); 702 | 703 | if(Enternumber.equals("")) 704 | { 705 | jtxtDisplay.setText(jbtn2.getText()); 706 | } 707 | else { 708 | Enternumber = jtxtDisplay.getText() + jbtn2.getText(); 709 | jtxtDisplay.setText(Enternumber); 710 | } 711 | }//GEN-LAST:event_jbtn2ActionPerformed 712 | 713 | private void jbtn3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn3ActionPerformed 714 | String Enternumber = jtxtDisplay.getText(); 715 | 716 | if(Enternumber.equals("")) 717 | { 718 | jtxtDisplay.setText(jbtn3.getText()); 719 | } 720 | else { 721 | Enternumber = jtxtDisplay.getText() + jbtn3.getText(); 722 | jtxtDisplay.setText(Enternumber); 723 | } 724 | }//GEN-LAST:event_jbtn3ActionPerformed 725 | 726 | private void jbtn0ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtn0ActionPerformed 727 | String Enternumber = jtxtDisplay.getText(); 728 | 729 | if(Enternumber.equals("")) 730 | { 731 | jtxtDisplay.setText(jbtn0.getText()); 732 | } 733 | else { 734 | Enternumber = jtxtDisplay.getText() + jbtn0.getText(); 735 | jtxtDisplay.setText(Enternumber); 736 | } 737 | }//GEN-LAST:event_jbtn0ActionPerformed 738 | 739 | private void jbtnCActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnCActionPerformed 740 | jtxtDisplay.setText(""); 741 | jtxtChange.setText(""); 742 | }//GEN-LAST:event_jbtnCActionPerformed 743 | 744 | private void jbtnDotActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnDotActionPerformed 745 | 746 | if(! jtxtDisplay.getText().contains(".")) 747 | { 748 | jtxtDisplay.setText(jtxtDisplay.getText() + jbtnDot.getText()); 749 | } 750 | }//GEN-LAST:event_jbtnDotActionPerformed 751 | 752 | private void jbtnPayActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnPayActionPerformed 753 | if(jcboPayment.getSelectedItem().equals("Cash")) 754 | { 755 | Change(); 756 | } 757 | else 758 | { 759 | jtxtChange.setText(""); 760 | jtxtDisplay.setText(""); 761 | } 762 | }//GEN-LAST:event_jbtnPayActionPerformed 763 | 764 | private void jbtnpotatoesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnpotatoesActionPerformed 765 | double PriceOfItem = 80.00; 766 | 767 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 768 | model.addRow(new Object[]{"potatoes", "1" ,PriceOfItem}); 769 | ItemCost(); 770 | }//GEN-LAST:event_jbtnpotatoesActionPerformed 771 | 772 | private void jbtngreenapplesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtngreenapplesActionPerformed 773 | double PriceOfItem = 270.00; 774 | 775 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 776 | model.addRow(new Object[]{"green apples", "1" ,PriceOfItem}); 777 | ItemCost(); 778 | }//GEN-LAST:event_jbtngreenapplesActionPerformed 779 | 780 | private void jbtngreencapsicumActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtngreencapsicumActionPerformed 781 | double PriceOfItem = 120.00; 782 | 783 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 784 | model.addRow(new Object[]{"green capsicum", "1" ,PriceOfItem}); 785 | ItemCost(); 786 | }//GEN-LAST:event_jbtngreencapsicumActionPerformed 787 | 788 | private void jbtnimportedorangesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnimportedorangesActionPerformed 789 | double PriceOfItem = 250.00; 790 | 791 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 792 | model.addRow(new Object[]{"oranges(imported)", "1" ,PriceOfItem}); 793 | ItemCost(); 794 | }//GEN-LAST:event_jbtnimportedorangesActionPerformed 795 | 796 | private void jbtnlemonsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnlemonsActionPerformed 797 | double PriceOfItem = 180.00; 798 | 799 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 800 | model.addRow(new Object[]{"lemons", "1" ,PriceOfItem}); 801 | ItemCost(); 802 | }//GEN-LAST:event_jbtnlemonsActionPerformed 803 | 804 | private void jbtnlimeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnlimeActionPerformed 805 | double PriceOfItem = 180.00; 806 | 807 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 808 | model.addRow(new Object[]{"lime", "1" ,PriceOfItem}); 809 | ItemCost(); 810 | }//GEN-LAST:event_jbtnlimeActionPerformed 811 | 812 | private void jbtnmixedlettuceActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnmixedlettuceActionPerformed 813 | double PriceOfItem = 80.00; 814 | 815 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 816 | model.addRow(new Object[]{"mixed lettuce", "1" ,PriceOfItem}); 817 | ItemCost(); 818 | }//GEN-LAST:event_jbtnmixedlettuceActionPerformed 819 | 820 | private void jbtnpineapplesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnpineapplesActionPerformed 821 | double PriceOfItem = 90.00; 822 | 823 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 824 | model.addRow(new Object[]{"pineapples", "1" ,PriceOfItem}); 825 | ItemCost(); 826 | }//GEN-LAST:event_jbtnpineapplesActionPerformed 827 | 828 | private void jbtnredapplesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnredapplesActionPerformed 829 | double PriceOfItem = 270.00; 830 | 831 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 832 | model.addRow(new Object[]{"red apples", "1" ,PriceOfItem}); 833 | ItemCost(); 834 | }//GEN-LAST:event_jbtnredapplesActionPerformed 835 | 836 | private void jbtnredcabbageActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnredcabbageActionPerformed 837 | double PriceOfItem = 180.00; 838 | 839 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 840 | model.addRow(new Object[]{"red cabbage", "1" ,PriceOfItem}); 841 | ItemCost(); 842 | }//GEN-LAST:event_jbtnredcabbageActionPerformed 843 | 844 | private void jbtnredcapsicumActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnredcapsicumActionPerformed 845 | double PriceOfItem = 280.00; 846 | 847 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 848 | model.addRow(new Object[]{"red capsicum", "1" ,PriceOfItem}); 849 | ItemCost(); 850 | }//GEN-LAST:event_jbtnredcapsicumActionPerformed 851 | 852 | private void jbtnredonionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnredonionActionPerformed 853 | double PriceOfItem = 100.00; 854 | 855 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 856 | model.addRow(new Object[]{"red onions", "1" ,PriceOfItem}); 857 | ItemCost(); 858 | }//GEN-LAST:event_jbtnredonionActionPerformed 859 | 860 | private void jbtnspringonionsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnspringonionsActionPerformed 861 | double PriceOfItem = 150.00; 862 | 863 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 864 | model.addRow(new Object[]{"spring onions", "1" ,PriceOfItem}); 865 | ItemCost(); 866 | }//GEN-LAST:event_jbtnspringonionsActionPerformed 867 | 868 | private void jbtnstrawberryActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnstrawberryActionPerformed 869 | double PriceOfItem = 240.00; 870 | 871 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 872 | model.addRow(new Object[]{"strawberry", "1" ,PriceOfItem}); 873 | ItemCost(); 874 | }//GEN-LAST:event_jbtnstrawberryActionPerformed 875 | 876 | private void jbtntomatoesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtntomatoesActionPerformed 877 | double PriceOfItem = 90.00; 878 | 879 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 880 | model.addRow(new Object[]{"tomatoes", "1" ,PriceOfItem}); 881 | ItemCost(); 882 | }//GEN-LAST:event_jbtntomatoesActionPerformed 883 | 884 | private void jbtnwhitecabbageActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnwhitecabbageActionPerformed 885 | double PriceOfItem = 50.00; 886 | 887 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 888 | model.addRow(new Object[]{"white cabbage", "1" ,PriceOfItem}); 889 | ItemCost(); 890 | }//GEN-LAST:event_jbtnwhitecabbageActionPerformed 891 | 892 | private void jbtnwhiteonionsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnwhiteonionsActionPerformed 893 | double PriceOfItem = 150.00; 894 | 895 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 896 | model.addRow(new Object[]{"white onions", "1" ,PriceOfItem}); 897 | ItemCost(); 898 | }//GEN-LAST:event_jbtnwhiteonionsActionPerformed 899 | 900 | private void jbtnyellowcapsicumActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnyellowcapsicumActionPerformed 901 | double PriceOfItem = 280.00; 902 | 903 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 904 | model.addRow(new Object[]{"yellow capsicum", "1" ,PriceOfItem}); 905 | ItemCost(); 906 | }//GEN-LAST:event_jbtnyellowcapsicumActionPerformed 907 | 908 | private void jbtnPrintActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnPrintActionPerformed 909 | MessageFormat header = new MessageFormat("Printing in progress"); 910 | MessageFormat footer = new MessageFormat("Page {0, number, integer}"); 911 | 912 | try 913 | { 914 | jTable1.print(JTable.PrintMode.NORMAL, header,footer); 915 | } 916 | 917 | catch(java.awt.print.PrinterException e){ 918 | System.err.format("No Printer found", e.getMessage()); 919 | } 920 | }//GEN-LAST:event_jbtnPrintActionPerformed 921 | 922 | private void jbtnRemoveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnRemoveActionPerformed 923 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 924 | 925 | int RemoveItem = jTable1.getSelectedRow(); 926 | if(RemoveItem >= 0) 927 | { 928 | model.removeRow(RemoveItem); 929 | } 930 | 931 | ItemCost(); 932 | 933 | if(jcboPayment.getSelectedItem().equals("Cash")) 934 | { 935 | Change(); 936 | } 937 | else 938 | { 939 | jtxtChange.setText(""); 940 | jtxtDisplay.setText(""); 941 | } 942 | }//GEN-LAST:event_jbtnRemoveActionPerformed 943 | 944 | private void jcboPaymentActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcboPaymentActionPerformed 945 | // TODO add your handling code here: 946 | }//GEN-LAST:event_jcboPaymentActionPerformed 947 | 948 | private void jbtnResetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtnResetActionPerformed 949 | 950 | DefaultTableModel model = (DefaultTableModel) jTable1.getModel(); 951 | model.setRowCount(0); 952 | 953 | jtxtChange.setText(""); 954 | jtxtTax.setText(""); 955 | jtxtTotal.setText(""); 956 | jtxtSubTotal.setText(""); 957 | jtxtDisplay.setText(""); 958 | jtxtBarCode.setText(""); 959 | }//GEN-LAST:event_jbtnResetActionPerformed 960 | 961 | private void jtxtTaxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtxtTaxActionPerformed 962 | // TODO add your handling code here: 963 | }//GEN-LAST:event_jtxtTaxActionPerformed 964 | 965 | /** 966 | * @param args the command line arguments 967 | */ 968 | public static void main(String args[]) { 969 | /* Set the Nimbus look and feel */ 970 | // 971 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 972 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 973 | */ 974 | try { 975 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 976 | if ("Nimbus".equals(info.getName())) { 977 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 978 | break; 979 | } 980 | } 981 | } catch (ClassNotFoundException ex) { 982 | java.util.logging.Logger.getLogger(JavaPOS.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 983 | } catch (InstantiationException ex) { 984 | java.util.logging.Logger.getLogger(JavaPOS.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 985 | } catch (IllegalAccessException ex) { 986 | java.util.logging.Logger.getLogger(JavaPOS.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 987 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 988 | java.util.logging.Logger.getLogger(JavaPOS.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 989 | } 990 | // 991 | 992 | /* Create and display the form */ 993 | java.awt.EventQueue.invokeLater(new Runnable() { 994 | public void run() { 995 | new JavaPOS().setVisible(true); 996 | } 997 | }); 998 | } 999 | 1000 | // Variables declaration - do not modify//GEN-BEGIN:variables 1001 | private javax.swing.JColorChooser jColorChooser1; 1002 | private javax.swing.JColorChooser jColorChooser2; 1003 | private javax.swing.JColorChooser jColorChooser3; 1004 | private javax.swing.JColorChooser jColorChooser4; 1005 | private javax.swing.JColorChooser jColorChooser5; 1006 | private javax.swing.JColorChooser jColorChooser6; 1007 | private javax.swing.JColorChooser jColorChooser7; 1008 | private javax.swing.JColorChooser jColorChooser8; 1009 | private javax.swing.JLabel jLabel1; 1010 | private javax.swing.JLabel jLabel2; 1011 | private javax.swing.JLabel jLabel3; 1012 | private javax.swing.JLabel jLabel4; 1013 | private javax.swing.JLabel jLabel5; 1014 | private javax.swing.JLabel jLabel6; 1015 | private javax.swing.JPanel jPanel1; 1016 | private javax.swing.JPanel jPanel2; 1017 | private javax.swing.JPanel jPanel4; 1018 | private javax.swing.JPanel jPanel5; 1019 | private javax.swing.JPanel jPanel6; 1020 | private javax.swing.JPanel jPanel7; 1021 | private javax.swing.JScrollPane jScrollPane1; 1022 | private javax.swing.JTable jTable1; 1023 | private javax.swing.JButton jbtn0; 1024 | private javax.swing.JButton jbtn1; 1025 | private javax.swing.JButton jbtn2; 1026 | private javax.swing.JButton jbtn3; 1027 | private javax.swing.JButton jbtn4; 1028 | private javax.swing.JButton jbtn5; 1029 | private javax.swing.JButton jbtn6; 1030 | private javax.swing.JButton jbtn7; 1031 | private javax.swing.JButton jbtn8; 1032 | private javax.swing.JButton jbtn9; 1033 | private javax.swing.JButton jbtnC; 1034 | private javax.swing.JButton jbtnDot; 1035 | private javax.swing.JButton jbtnExit; 1036 | private javax.swing.JButton jbtnPay; 1037 | private javax.swing.JButton jbtnPrint; 1038 | private javax.swing.JButton jbtnRemove; 1039 | private javax.swing.JButton jbtnReset; 1040 | private javax.swing.JButton jbtngreenapples; 1041 | private javax.swing.JButton jbtngreencapsicum; 1042 | private javax.swing.JButton jbtnimportedoranges; 1043 | private javax.swing.JButton jbtnlemons; 1044 | private javax.swing.JButton jbtnlime; 1045 | private javax.swing.JButton jbtnmixedlettuce; 1046 | private javax.swing.JButton jbtnpineapples; 1047 | private javax.swing.JButton jbtnpotatoes; 1048 | private javax.swing.JButton jbtnredapples; 1049 | private javax.swing.JButton jbtnredcabbage; 1050 | private javax.swing.JButton jbtnredcapsicum; 1051 | private javax.swing.JButton jbtnredonion; 1052 | private javax.swing.JButton jbtnspringonions; 1053 | private javax.swing.JButton jbtnstrawberry; 1054 | private javax.swing.JButton jbtntomatoes; 1055 | private javax.swing.JButton jbtnwhitecabbage; 1056 | private javax.swing.JButton jbtnwhiteonions; 1057 | private javax.swing.JButton jbtnyellowcapsicum; 1058 | private javax.swing.JComboBox jcboPayment; 1059 | private javax.swing.JTextField jtxtBarCode; 1060 | private javax.swing.JTextField jtxtChange; 1061 | private javax.swing.JTextField jtxtDisplay; 1062 | private javax.swing.JTextField jtxtSubTotal; 1063 | private javax.swing.JTextField jtxtTax; 1064 | private javax.swing.JTextField jtxtTotal; 1065 | // End of variables declaration//GEN-END:variables 1066 | } 1067 | -------------------------------------------------------------------------------- /JavaPOS/src/JavaPOS.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 |
342 |
343 |
344 |
345 |
346 |
347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 | 611 | 612 | 613 | 614 | 615 | 616 | 617 | 618 | 619 | 620 | 621 | 622 | 623 | 624 | 625 | 626 | 627 | 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | 644 | 645 | 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | 666 | 667 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 677 | 678 | 679 | 680 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 701 | 702 | 703 | 704 | 705 | 706 | 707 | 708 | 709 | 710 | 711 | 712 | 713 | 714 | 715 | 716 | 717 | 718 | 719 | 720 | 721 | 722 | 723 | 724 | 725 | 726 | 727 | 728 | 729 | 730 | 731 | 732 | 733 | 734 | 735 | 736 | 737 | 738 | 739 | 740 | 741 | 742 | 743 | 744 | 745 | 746 | 747 | 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 | 760 | 761 | 762 | 763 | 764 | 765 | 766 | 767 | 768 | 769 | 770 | 771 | 772 | 773 | 774 | 775 | 776 | 777 | 778 | 779 | 780 | 781 | 782 | 783 | 784 | 785 | 786 | 787 | 788 | 789 | 790 | 791 | 792 | 793 | 794 | 795 | 796 | 797 | 798 | 799 | 800 | 801 | 802 | 803 | 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | 813 | 814 | 815 | 816 | 817 | 818 | 819 | 820 | 821 | 822 | 823 | 824 | 825 | 826 | 827 | 828 | 829 | 830 | 831 | 832 | 833 | 834 | 835 | 836 | 837 | 838 | 839 | 840 | 841 | 842 | 843 | 844 | 845 | 846 | 847 | 848 | 849 | 850 | 851 | 852 | 853 | 854 | 855 | 856 | 857 | 858 | 859 | 860 | 861 | 862 | 863 | 864 | 865 | 866 | 867 | 868 | 869 | 870 | 871 | 872 | 873 | 874 | 875 | 876 | 877 | 878 | 879 | 880 | 881 | 882 | 883 | 884 | 885 | 886 | 887 | 888 | 889 | 890 | 891 | 892 | 893 | 894 | 895 | 896 | 897 | 898 | 899 | 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | 908 | 909 | 910 | 911 | 912 | 913 | 914 | 915 | 916 | 917 | 918 | 919 | 920 | 921 | 922 | 923 | 924 | 925 | 926 | 927 | 928 | 929 | 930 | 931 | 932 | 933 | 934 | 935 | 936 | 937 | 938 | 939 | 940 | 941 | 942 | 943 | 944 | 945 | 946 | 947 | 948 | 949 | 950 | 951 | 952 | 953 | 954 | 955 | 956 | 957 | 958 | 959 | 960 | 961 | 962 | 963 | 964 | 965 | 966 | 967 | 968 | 969 | 970 | 971 | 972 | 973 | 974 | 975 | 976 | 977 | 978 | 979 | 980 | 981 | 982 | 983 | 984 | 985 | 986 | 987 | 988 | 989 | 990 | 991 | 992 | 993 | 994 | 995 | 996 | 997 | 998 | 999 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1011 | 1012 | 1013 | 1014 | 1015 | 1016 | 1017 | 1018 | 1019 | 1020 | 1021 | 1022 | 1023 | 1024 | 1025 | 1026 | 1027 | 1028 | 1029 | 1030 | 1031 | 1032 | 1033 | 1034 | 1035 | 1036 | 1037 | 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | 1047 | 1048 | 1049 | 1050 | 1051 | 1052 | 1053 | 1054 | 1055 | 1056 | 1057 | 1058 | 1059 | 1060 | 1061 | 1062 | 1063 | 1064 | 1065 | 1066 |
1067 | 1068 | -------------------------------------------------------------------------------- /JavaPOS/build/classes/JavaPOS.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 |
342 |
343 |
344 |
345 |
346 |
347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 | 611 | 612 | 613 | 614 | 615 | 616 | 617 | 618 | 619 | 620 | 621 | 622 | 623 | 624 | 625 | 626 | 627 | 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | 644 | 645 | 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | 666 | 667 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 677 | 678 | 679 | 680 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 701 | 702 | 703 | 704 | 705 | 706 | 707 | 708 | 709 | 710 | 711 | 712 | 713 | 714 | 715 | 716 | 717 | 718 | 719 | 720 | 721 | 722 | 723 | 724 | 725 | 726 | 727 | 728 | 729 | 730 | 731 | 732 | 733 | 734 | 735 | 736 | 737 | 738 | 739 | 740 | 741 | 742 | 743 | 744 | 745 | 746 | 747 | 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 | 760 | 761 | 762 | 763 | 764 | 765 | 766 | 767 | 768 | 769 | 770 | 771 | 772 | 773 | 774 | 775 | 776 | 777 | 778 | 779 | 780 | 781 | 782 | 783 | 784 | 785 | 786 | 787 | 788 | 789 | 790 | 791 | 792 | 793 | 794 | 795 | 796 | 797 | 798 | 799 | 800 | 801 | 802 | 803 | 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | 813 | 814 | 815 | 816 | 817 | 818 | 819 | 820 | 821 | 822 | 823 | 824 | 825 | 826 | 827 | 828 | 829 | 830 | 831 | 832 | 833 | 834 | 835 | 836 | 837 | 838 | 839 | 840 | 841 | 842 | 843 | 844 | 845 | 846 | 847 | 848 | 849 | 850 | 851 | 852 | 853 | 854 | 855 | 856 | 857 | 858 | 859 | 860 | 861 | 862 | 863 | 864 | 865 | 866 | 867 | 868 | 869 | 870 | 871 | 872 | 873 | 874 | 875 | 876 | 877 | 878 | 879 | 880 | 881 | 882 | 883 | 884 | 885 | 886 | 887 | 888 | 889 | 890 | 891 | 892 | 893 | 894 | 895 | 896 | 897 | 898 | 899 | 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | 908 | 909 | 910 | 911 | 912 | 913 | 914 | 915 | 916 | 917 | 918 | 919 | 920 | 921 | 922 | 923 | 924 | 925 | 926 | 927 | 928 | 929 | 930 | 931 | 932 | 933 | 934 | 935 | 936 | 937 | 938 | 939 | 940 | 941 | 942 | 943 | 944 | 945 | 946 | 947 | 948 | 949 | 950 | 951 | 952 | 953 | 954 | 955 | 956 | 957 | 958 | 959 | 960 | 961 | 962 | 963 | 964 | 965 | 966 | 967 | 968 | 969 | 970 | 971 | 972 | 973 | 974 | 975 | 976 | 977 | 978 | 979 | 980 | 981 | 982 | 983 | 984 | 985 | 986 | 987 | 988 | 989 | 990 | 991 | 992 | 993 | 994 | 995 | 996 | 997 | 998 | 999 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1011 | 1012 | 1013 | 1014 | 1015 | 1016 | 1017 | 1018 | 1019 | 1020 | 1021 | 1022 | 1023 | 1024 | 1025 | 1026 | 1027 | 1028 | 1029 | 1030 | 1031 | 1032 | 1033 | 1034 | 1035 | 1036 | 1037 | 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | 1047 | 1048 | 1049 | 1050 | 1051 | 1052 | 1053 | 1054 | 1055 | 1056 | 1057 | 1058 | 1059 | 1060 | 1061 | 1062 | 1063 | 1064 | 1065 | 1066 |
1067 | 1068 | --------------------------------------------------------------------------------