|
|
|
@ -23,6 +23,7 @@ import javax.swing.BorderFactory;
|
|
|
|
|
import javax.swing.Icon; |
|
|
|
|
import javax.swing.JComponent; |
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Color; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
@ -122,7 +123,12 @@ public class FormHierarchyTreePane extends FormDockView implements HierarchyTree
|
|
|
|
|
|
|
|
|
|
private void refreshComponentTree() { |
|
|
|
|
componentTree.setAndScrollSelectionPath(componentTree.getSelectedTreePath()); |
|
|
|
|
componentTree.refreshUI(); |
|
|
|
|
SwingUtilities.invokeLater(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
componentTree.refreshUI(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private JPanel getWidgetPane() { |
|
|
|
|