Icon icon = new ImageIcon(getClass().getResource( \"/img/icon.gif\" ) ); aButton = new JButton(\"Its a button\", icon);
Is there some kind of metho
button.setIcon(new ImageIcon("/*icon location*/")); button.setRolloverIcon(new ImageIcon("/*icon location*/"
The Animated gif image will not get invisible when mouse pointer moves over the button.