Tagged: FlowLayout

ImageIcon 0

Add ImageIcon to a JLabel and center it

/** * * @author Eric * Email:kawi3462@gmail.com * Site:www.techoverload.net */ import java.awt.FlowLayout; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.ImageIcon; public class JLabelImageIcon extends JFrame { public JLabelImageIcon() { super("JLabel with Image Icon Example"); setSize(400,400); setLayout(new...