+ secondCardHolder.add(Box.createRigidArea(new Dimension(0,7)));
+ // Selection of format of timestamps
+ JLabel timestampLabel = new JLabel(I18nManager.getText("dialog.save.timestampformat"));
+ timestampLabel.setAlignmentX(JLabel.LEFT_ALIGNMENT);
+ secondCardHolder.add(timestampLabel);
+ JPanel timestampPanel = new JPanel();
+ timestampPanel.setBorder(BorderFactory.createEtchedBorder());
+ timestampPanel.setLayout(new GridLayout(0, 2));
+ _timestampUnitsRadios = new JRadioButton[3];
+ _timestampUnitsRadios[0] = new JRadioButton(I18nManager.getText("units.original"));
+ _timestampUnitsRadios[1] = new JRadioButton(I18nManager.getText("units.default"));
+ _timestampUnitsRadios[2] = new JRadioButton(I18nManager.getText("units.iso8601"));
+ ButtonGroup timeGroup = new ButtonGroup();
+ for (int i=0; i<3; i++)
+ {
+ timeGroup.add(_timestampUnitsRadios[i]);
+ timestampPanel.add(_timestampUnitsRadios[i]);
+ _timestampUnitsRadios[i].setSelected(i==0);
+ }
+ timestampPanel.setAlignmentX(JPanel.LEFT_ALIGNMENT);
+ secondCardHolder.add(timestampPanel);