List of usage examples for javax.swing AbstractButton getRolloverIcon
public Icon getRolloverIcon()
From source file:Main.java
public static void main(String[] args) { AbstractButton jb = new JButton("Press Me"); System.out.println(jb.getRolloverIcon()); JFrame f = new JFrame(); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.getContentPane().add(jb);//from www . j a v a 2 s. co m f.pack(); f.setVisible(true); }