1 - Features of this Application
4 - Java as Technology for this Software
- It has step by step label in order for user to guide them in using it
- It has information section to know their Class Vehicles and their Data as well
- It has color buttons in order to know what they will press
NOTE: Human eye treats the Green as active or success, while color yellow is for medium or reset while color red is warning the UI developer intend this color category for the users who has eye defect wherein it is hard for them to read texts
Just download the jar file and you can use it :>
*make sure that you have Java Machine in your device *
- Users add their name first
- Second they will choose what is the classification of their vehicle
- User can choose the location that they want
If the user has innapporiate action the system or the program will warning them
We integrate GUI (Graphical User Interface) to make it accesible and easy to use for the user of this software with the study of research in UI and UX we come up with the easy to use buttons, lessen the hassle of reading information plus the integration of user friendly experience
Through the help of the Java Collection HashMap we come up with the fast memory and speed. The data are optimized and easy to use. The Data are access through their keys and not indexes. The memory and speed of this software is fast and reliable through the power of HashMap
Java is a beginner friendly programming language that everyone can code it too. So that's why this is a open source software that can help to improve it to make it more user friendly and fast
HashMap is a Map based collection class that is used for storing Key & value pairs, it is denoted as HashMap<Key, Value> or HashMap<K, V>. This class makes no guarantees as to the order of the map. It is similar to the Hashtable class except that it is unsynchronized and permits nulls(null values and null key).
import java.util.HashMap;
HashMap hash = new HashMap();
hash.put("MIN-BWK",165.0);
Swing is a GUI widget toolkit for Java. It is part of Oracle's Java Foundation Classes – an API for providing a graphical user interface for Java programs. Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit
Using XLRD to read the excel file
Instead of using array we use hashes to make it fast and optimized
PROBLEM: It is time consuming to type all those data one by one so we come up to generate it with excel to python plus write it with
hash.put("MIN-BWK",165.0);
import xlrd
f = open("C:\\Users\\MY-PC\\Desktop\\TollGateJava\\tbl_Class3.txt", "w")
wb = xlrd.open_workbook('D:\\New folder\\Book1.xlsx')
sh = wb.sheet_by_index(2)
x=len(sh.col_values(0))-1
y = len(sh.row_values(0))-1
for i in range(x):
lenx= len(list(filter(None,sh.row_values(i+1) )))
for j in range(lenx-1):
start = sh.cell(i+1,0).value
destination = sh.cell(0,j+1).value
value_Price = sh.row_values(i+1)
f.write("hash.put("+"\""+start+"-"+destination+"\""+','+str(value_Price[j+1])+");\n")
f.close()
It contains Excel files, Text output and the Python generator
This contain the files that have been created but they are meant only for references