I'm creating a program, and I'm making its menu.
But to make the menu, I need to create a button and I'm creating this button using images with JLabel
and using MouseListener
. However, I need to know how to determine the size of a JLabel
to make it easier.