*/
private void layoutComponents() {
int labelAlignment = OperatingSystem.isMacOSX()
? GridBagConstraints.LINE_END
: GridBagConstraints.LINE_START;
Insets labelInsets = new Insets(0, 0, 5, 5);
Insets componentInsets = new Insets(0, 0, 5, 0);
if (this.defaultCreatorLabel != null) {
add(this.defaultCreatorLabel, new GridBagConstraints(
0, 100, 1, 1, 0, 0, labelAlignment,
GridBagConstraints.NONE, labelInsets, 0, 0));
add(this.defaultCreatorTextField, new GridBagConstraints(
1, 100, 2, 1, 0, 0, GridBagConstraints.LINE_START,
GridBagConstraints.HORIZONTAL, componentInsets, 0, 0));
}
if (this.offlineFurnitureLibraryLabel != null) {
add(this.offlineFurnitureLibraryLabel, new GridBagConstraints(
0, 101, 1, 1, 0, 0, labelAlignment,
GridBagConstraints.NONE, labelInsets, 0, 0));
add(this.offlineFurnitureLibraryCheckBox, new GridBagConstraints(
1, 101, 2, 1, 0, 0, GridBagConstraints.LINE_START,
GridBagConstraints.NONE, componentInsets, 0, 0));
}
if (this.furnitureResourcesLocalDirectoryLabel != null) {
add(this.furnitureResourcesLocalDirectoryLabel, new GridBagConstraints(
0, 102, 1, 1, 0, 0, labelAlignment,
GridBagConstraints.NONE, labelInsets, 0, 0));
add(this.furnitureResourcesLocalDirectoryTextField, new GridBagConstraints(
1, 102, 2, 1, 0, 0, GridBagConstraints.LINE_START,
GridBagConstraints.HORIZONTAL, componentInsets, 0, 0));
}
if (this.furnitureResourcesRemoteUrlBaseLabel != null) {
add(this.furnitureResourcesRemoteUrlBaseLabel, new GridBagConstraints(
0, 103, 1, 1, 0, 0, labelAlignment,
GridBagConstraints.NONE, new Insets(0, 0, 0, 5), 0, 0));
add(this.furnitureResourcesRemoteUrlBaseTextField, new GridBagConstraints(
1, 103, 2, 1, 0, 0, GridBagConstraints.LINE_START,
GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
}
}