//About panel
//**********************************************************
JPanel panelAbout = new JPanel();
panelAbout.setLayout(Layout.getGBL());
DcPictureField about = ComponentFactory.getPictureField(false, false);
try {
about.setValue(new URL("file://" + DataCrow.installationDir + "icons/aboutinformation.jpg"));
panelAbout.add(about, Layout.getGBC(0, 0, 1, 1, 1.0, 1.0,
GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
new Insets(5, 5, 5, 5), 0, 0));
} catch (Exception e) {
logger.error("Could not load the about image", e);
}
//**********************************************************
//Credits
//**********************************************************
JPanel panelCredits = new JPanel();
panelCredits.setLayout(Layout.getGBL());
DcPictureField credits = ComponentFactory.getPictureField(false, false);
try {
credits.setValue(new URL("file://" + DataCrow.installationDir + "icons/aboutcredits.jpg"));
panelCredits.add(credits, Layout.getGBC(0, 0, 1, 1, 1.0, 1.0,
GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
new Insets(5, 5, 5, 5), 0, 0));
} catch (Exception e) {
logger.error("Could not load the credits image", e);