WE can put a image to the swing JButton to create a icon button.
To make the button have better appearance. we can set the following variable to false;
JButtonObj.setBorderPainted(),
JButtonObj.setContentAreaFilled(),
JButtonObj.setFocusPainted().
The created button will not have border and background and focus state appearance.