JIconButton.java A simple button that the user can select to load the entered URL. import javax.swing.*; /** A regular JButton created with an ImageIcon and with borders * and content areas turned off. * */ public class JIconButton extends JButton { public JIconButton(String file) { super(new ImageIcon(file)); setContentAreaFilled(false); setBorderPainted(false); setFocusPainted(false); } }
Simple button that the user can select to load the entered URL.
Permanent link to this article: http://bangla.sitestree.com/simple-button-that-the-user-can-select-to-load-the-entered-url/