* added as leafs of the parent in the tree.
* The settings panels are instantiated here as well.
* Each leaf contains a specific panel with the settings components.
*/
private DefaultMutableTreeNode buildTreeModel() {
DefaultMutableTreeNode topTreeNode = new DcDefaultMutableTreeNode(DcResources.getText("lblSettings"));
topTreeNode.setUserObject(panelInfo);
for (SettingsGroup group : settings.getSettingsGroups().values()) {
JPanel panel = new SettingsPanel(group);
DefaultMutableTreeNode treeNode = new DcDefaultMutableTreeNode(panel);
topTreeNode.add(treeNode);
panelBogus.setPreferredSize(new Dimension(700, 380));
panel.setMinimumSize(new Dimension(700, 380));
panel.setPreferredSize(new Dimension(700, 380));
panel.setMaximumSize(new Dimension(700, 380));
getContentPane().add(panel, Layout.getGBC( 1, 0, 1, 1, 1.0, 1.0
,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
new Insets(5, 5, 5, 5), 0, 0));
for (SettingsGroup childGroup : group.getChildren().values()) {
JPanel childPanel = new SettingsPanel(childGroup);
DefaultMutableTreeNode childTreeNode = new DcDefaultMutableTreeNode(childPanel);
treeNode.add(childTreeNode);
childPanel.setMinimumSize(new Dimension(700, 380));
childPanel.setPreferredSize(new Dimension(700, 380));
childPanel.setMaximumSize(new Dimension(700, 380));