JPanel floorPanel = createVerticalTitledPanel(preferences.getLocalizedString(
RoomPanel.class, "floorPanel.title"),
new JComponent [] {this.floorVisibleCheckBox, null,
this.floorColorRadioButton, this.floorColorButton,
this.floorTextureRadioButton, this.floorTextureComponent});
floorPanel.add(new JSeparator(), new GridBagConstraints(
0, 3, 2, 1, 1, 0, GridBagConstraints.CENTER,
GridBagConstraints.HORIZONTAL, new Insets(3, 0, 3, 0), 0, 0));
floorPanel.add(this.floorMattRadioButton, new GridBagConstraints(
0, 4, 1, 1, 1, 0, GridBagConstraints.LINE_START,
GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0));
floorPanel.add(this.floorShinyRadioButton, new GridBagConstraints(
1, 4, 1, 1, 1, 0, GridBagConstraints.LINE_START,
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
add(floorPanel, new GridBagConstraints(
0, 1, 1, 1, 1, 0, GridBagConstraints.LINE_START,
GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
JPanel ceilingPanel = createVerticalTitledPanel(preferences.getLocalizedString(
RoomPanel.class, "ceilingPanel.title"),
new JComponent [] {this.ceilingVisibleCheckBox, null,
this.ceilingColorRadioButton, this.ceilingColorButton,
this.ceilingTextureRadioButton, this.ceilingTextureComponent});
ceilingPanel.add(new JSeparator(), new GridBagConstraints(
0, 3, 2, 1, 1, 0, GridBagConstraints.CENTER,
GridBagConstraints.HORIZONTAL, new Insets(3, 0, 3, 0), 0, 0));
ceilingPanel.add(this.ceilingMattRadioButton, new GridBagConstraints(
0, 4, 1, 1, 1, 0, GridBagConstraints.LINE_START,
GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0));