Click here to Skip to main content
15,917,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am working on a standalone core java project using graphical user interace. i have created buttons to show days of the week from sunday to saturday. now the problem is that i want to create buttons such that when the user clicks on a day, they will be taken to a page having the button that says "add appointment" and another one saying that "cancel". i need help here thanks much.

What I have tried:

i have tried to read database but i didnt want to go into it.
Posted
Comments
[no name] 6-May-21 14:09pm    
Use a "Dialog".

https://docs.oracle.com/javase/tutorial/uiswing/components/dialog.html
SeanChupas 6-May-21 16:15pm    
I am confused. You do not know how to add 2 buttons to a form?

And what's this about reading a database?

I have no idea what you are asking.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900