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.
发表于 @ 2009年05月19日 14:38:00 | 评论( loading... ) | 举报| 收藏