import javax.swing.*;
import java.awt.*;
public class sample
{
public static final int width=500;
public static final int height=500;

public static void main(String[] args)
{
JFrame mywindow=new JFrame();
myWindow.setSize(Width, height);
JLabel myLabel= new JLabel ("How do i insert picture in this window? I want to create a photo gallery on this window..can you help me generate the code?pls thanks!");
myWindow.getContentPane().add(myLabel);

myWindow.setVisible(true);
}
}

Do you want to place an icon in your label ?
JLabel myLabel =new JLabel ("mylabel", new ImageIcon("images/pics.png"));

I already gave him a link to a tutorial that demonstrated this, but obviously he didn't feel compelled to read it (nor the instructions to use code tags).

Salam,
please inform me how 2 develop a web page in Macromedia Flash

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.