return true;
}
public JPanel createSettingsContent() {
mContent = new JPanel(new TabLayout(1));
JPanel p1 = new JPanel(new FlowLayout(FlowLayout.LEADING));
mContent.add(p1);
p1.add(new JLabel(mLocalizer.msg("timeBlock.blockSize", "Block size")));
mTimeBlockSizeSp = new JSpinner(new SpinnerNumberModel(Settings.propTimeBlockSize.getInt(), 1, 23, 1));
p1.add(mTimeBlockSizeSp);
p1.add(new JLabel(mLocalizer.msg("timeBlock.hours", "hours")));
p1 = new JPanel(new TabLayout(3));
mContent.add(p1);
p1.add(new JLabel(mLocalizer.msg("timeBlock.background1", "Image 1")));
mTimeBlockBackground1TF = new JTextField(Settings.propTimeBlockBackground1.getString(), 25);
p1.add(mTimeBlockBackground1TF);
p1.add(ProgramTableSettingsTab.createBrowseButton(mContent, mTimeBlockBackground1TF));
p1.add(new JLabel(mLocalizer.msg("timeBlock.background2", "Image 2")));
mTimeBlockBackground2TF = new JTextField(Settings.propTimeBlockBackground2.getString(), 25);
p1.add(mTimeBlockBackground2TF);
p1.add(ProgramTableSettingsTab.createBrowseButton(mContent, mTimeBlockBackground2TF));
mTimeBlockShowWestChB = new JCheckBox(mLocalizer.msg("timeBlock.showWest", "Show left border"), Settings.propTimeBlockShowWest.getBoolean());
mTimeBlockShowWestChB.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
handleTimeBlockShowWest();
}
});
mContent.add(mTimeBlockShowWestChB);
mTimeBlockShowWestChB.setSelected(Settings.propTimeBlockShowWest.getBoolean());
p1 = new JPanel(new TabLayout(3));
mContent.add(p1);
mTimeBlockWestImage1Lb = new JLabel(mLocalizer.msg("timeBlock.west1", "Border image 1"));
p1.add(mTimeBlockWestImage1Lb);
mTimeBlockWestImage1TF = new JTextField(Settings.propTimeBlockWestImage1.getString(), 25);