Im trying to design a java program which when you click on an admin button in a window GUI, it brings up another window showing three buttons (Restock, Empty and Update exchange rates).How can i do this?
Also i've got to add functionality to the three buttons mentioned above how can i do this so that when clicked;
Restock button brings up a new Gui showing amount in machine for each of six differant countries.
Empty, when clicked shows amount in machine and allows user to remove this amount(rezero amount)
Update exchange rate, allows user to enter new exchange rates for six differant countries.
So far have designed currency exachange program which displays gui and can convert, reset machine,and close machine window. But am really struggling with code for button functionality. Please help me, as have done numerous web searches for related info and found nothing. Can you help me with code or example code as already have loads of web sites. Thankyou loads