class ImgPanel extends JPanel{ public void paintComponent(Graphics g){ Image img=new ImageIcon("test/19.jpeg").getImage(); g.drawImage(img, 0, 0, this); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)