Hello ,
i am creating a simple gui for a TollMachine and i run in a problem.
While
java code works fine[i mean a problem without gui just java code] (when i try to imp-lent the code into the gui actionlistener it doesnt set/get what i wanna do [it does nothing actually].)
Here is a fast example of what i wanna do ,
When the jButton is pressed i want it to load motorcycle tickets
Ticket.java
TollMachine.java
Assume i have set price and initial quantity for all tickets (i just didnt paste here to avoid huge codes)
GuiMenu.java
Launcher.java