see if this juke box works on canvas on your friend's PC. Sheryl Crow, soak up the sun
[QUOTE]
package helloworld;
import java.lang.*;
import java.awt.*;
import java.awt.Canvas;
import java.awt.Graphics;
/**
*
* @author Tiki808(me on the garden island forum)
*/
public class ColorBox extends Canvas { //start of the class
//Sheryl Crow, soak up the sun video
public ColorBox() //calling this class accesses the Static variables
{ //in the main method
setSize(800,600);
setBackground(gray);
drawRect(100, 100, 800, 600);
fillRect(gray);
drawRect(120, 120, 600, 400);
fillRect(aqua);
drawRect(140, 140, 400, 400);
fillRect(white);
ImageIcon pic = new ImageIcon("<iframe width=\"640\" height=\"360\" src=\"//www.youtube.com/embed/KIYiGA_rIls?feature=player_embedded\" frameborder=\"0\" allowfullscreen></iframe>");
} //end constructor
public static void main(String[] args) { //main method or known as static variables
try {
system.out.println("error message!");
} catch(java.lang.RuntimeException); {
}
}
/* Create and display the form */
new Runnable() {
public void run() {
new ColorBox().setVisible(true);
}
});
} //end class
/QUOTE]