Replace ImageIcon with ImageIO