Currently I am developing a small todo list manager and would like to use labels in place of buttons on the ‘context’ bar. If any one could provide me with information on how I could go about doing this I would appreciate it greatly.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s probably easier to just use a JButton. It you use
then it will look just like a label but you can still use an ActionListener.