+
+ aboutPanel.add(descPane);
+ aboutPanel.add(new JLabel(" "));
+ tabPane.add(I18nManager.getText("dialog.about.title"), aboutPanel);
+
+ // Second pane for system info
+ JPanel sysInfoPanel = new JPanel();
+ GridBagLayout gridBag = new GridBagLayout();
+ sysInfoPanel.setLayout(gridBag);
+ GridBagConstraints constraints = new GridBagConstraints();
+ constraints.weightx = 0.0; constraints.weighty = 0.0;
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.systeminfo.os") + " : "),
+ 0, 0);
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(System.getProperty("os.name")),
+ 1, 0);
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.systeminfo.java") + " : "),
+ 0, 1);
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(System.getProperty("java.runtime.version")),
+ 1, 1);
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.systeminfo.java3d") + " : "),
+ 0, 2);
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText(WindowFactory.isJava3dEnabled()?"dialog.about.yes":"dialog.about.no")),
+ 1, 2);
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.systeminfo.povray") + " : "),
+ 0, 3);
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText(ExternalTools.isPovrayInstalled()?"dialog.about.yes":"dialog.about.no")),
+ 1, 3);
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.systeminfo.exiftool") + " : "),
+ 0, 4);
+ addToGridBagPanel(sysInfoPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText(ExternalTools.isExiftoolInstalled()?"dialog.about.yes":"dialog.about.no")),
+ 1, 4);
+ tabPane.add(I18nManager.getText("dialog.about.systeminfo"), sysInfoPanel);
+
+ // Third pane for credits
+ JPanel creditsPanel = new JPanel();
+ gridBag = new GridBagLayout();
+ creditsPanel.setLayout(gridBag);
+ constraints = new GridBagConstraints();
+ constraints.weightx = 0.0; constraints.weighty = 0.0;
+
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.credits.code") + " : "),
+ 0, 0);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel("activityworkshop.net"),
+ 1, 0);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.credits.exifcode") + " : "),
+ 0, 1);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel("Drew Noakes"),
+ 1, 1);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.credits.icons") + " : "),
+ 0, 2);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel("Eclipse"),
+ 1, 2);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.credits.translations") + " : "),
+ 0, 3);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel("Open Office, Gpsdrive, Babelfish, Leo"),
+ 1, 3);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.credits.devtools") + " : "),
+ 0, 4);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel("Mandriva Linux, Sun Java, Eclipse, Svn, Gimp"),
+ 1, 4);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.credits.othertools") + " : "),
+ 0, 5);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel("Garble, Kate, Povray, Inkscape, Google Earth"),
+ 1, 5);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel(I18nManager.getText("dialog.about.credits.thanks") + " : "),
+ 0, 6);
+ addToGridBagPanel(creditsPanel, gridBag, constraints,
+ new JLabel("Friends and loved ones, for encouragement and support"),
+ 1, 6);
+ tabPane.add(I18nManager.getText("dialog.about.credits"), creditsPanel);
+
+ // OK button at the bottom
+ JPanel okPanel = new JPanel();
+ okPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
+ _okButton = new JButton(I18nManager.getText("button.ok"));
+ _okButton.addActionListener(new ActionListener()