/** Testing. */
public static void main(String[] inArgs){
JDialog tempDialog = new JDialog();
tempDialog.setModal(true);
ImagePanel tempImagePanel = new ImagePanel();
tempImagePanel.setImage(new ImageSource().getImage("g.png"));
tempImagePanel.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED));
tempDialog.setContentPane(tempImagePanel);
tempDialog.setSize(200,200);
tempDialog.setTitle("Testing the ImagePanel");
tempDialog.show();