/** @see org.argouml.ui.TabTarget#refresh() */ public void refresh() { refreshTransaction = true; // Let the parent do its refresh. super.refresh(); PathContainer pc = (PathContainer) getPanelTarget(); pathCheckBox.setSelected(pc.isPathVisible()); refreshTransaction = false; // Change the shadow size if appropriate if (getPanelTarget() instanceof FigNodeModelElement) { int shadowSize = ((FigNodeModelElement) getPanelTarget()).getShadowSize(); if (shadowSize > 0) { shadowField.setSelectedIndex(shadowSize); } else { shadowField.setSelectedIndex(0); } } // lets redraw the box setTargetBBox(); }