protected static void displayTestPanel(BufferedImage image) {
ApplicationFrame frame = new ApplicationFrame("testframe");
BufferedPanel imgPanel = new BufferedPanel(image);
frame.setContentPane(imgPanel);
frame.pack();
RefineryUtilities.centerFrameOnScreen(frame);
frame.setVisible(true);
}
protected static Date stringToDate(String sDate) throws ParseException {