!636 !629 // standard functions !658 // image classes import java.awt.*; import java.awt.image.*; import java.util.List; public class main { public static void main(String[] args) { JFrame frame = new JFrame("A JavaX Frame"); RGBImage image = new RGBImage(10, 10, Color.green); ImageSurface panel = new ImageSurface(image); frame.add(panel); frame.setBounds(100, 100, 500, 400); frame.setVisible(true); exitOnFrameClose(frame); } }