imageicon place in term of push button ->to remove button layout

i want to place the imageicon in term of JButton.

it is okay.

But the problem is the panel's colour is white,

and the image is white also.

but the button layout is grey which make the interface very ugly.

So, do you have any methods so that the button can be of just the image

so that user only see the image on the interface

Thanks all

[387 byte] By [smalla] at [2007-10-2 9:14:21]
# 1
make the button's background the same color as the panel, then addbtn.setFocusPainted(false);btn.setBorder(null);this should show just the image.you may also have to change the button's clicked color
Michael_Dunna at 2007-7-16 23:21:28 > top of Java-index,Desktop,Core GUI APIs...