PictureBox pic=new PictureBox(300,200); this.add(pic); this.setVisible(true); for (int i = 0; i < 100; i++) pic.setPixel(50,i,Color.WHITE); pic.print(40,40,"Hello"); pic.setPixel(60,60,Color.RED); pic.loadImage("images/still3.jpg");
JLable lblPic = new javax.swing.JLabel(); lblPic.setIcon(new javax.swing.ImageIcon("D:\\picture\\Image.JPG"));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)