This code inside my jFrame class

...
//Loading video streaming
BoundaryMJPEGConnection bMconnection = new BoundaryMJPEGConnection( url.openStream());

img = Toolkit.getDefaultToolkit().createImage(bMconnecti on.getNextImage());

}



public void paint(Graphics g) {

g.drawImage(img,5,20,this);

}

I've also tried to use the update() method but it doesn't work..

thanks