To add icon to a button, use the Icon class, which will allow you to add an image to the button. ... Icon icon = new ImageIcon("E:\\editicon.PNG") ...
確定! 回上一頁