posted 18 years ago
Hello erveryone,
in my opinion it sounds like an easy question, but i don�t find the right answer.
I have a simple undecorated frame, with only one JPanel inside.
This JPanel has three JButtons inside. (GridLayout (3,1))
Each JButton has an image (like a traffic light).
Now i want this JButtons to be as small as possible. Therefore i designed
three very small images (16x16).
How do i get the JButtons as small as the images are? Now, the Buttons do not get smaller when i take smaller images.
The small images are only centered in the JButton that has the same size as before.
Thanks in advance,
Andr�