|
|
|
@ -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,8 +123,13 @@ public class FormHierarchyTreePane extends FormDockView implements HierarchyTree
|
|
|
|
|
|
|
|
|
|
private void refreshComponentTree() { |
|
|
|
|
componentTree.setAndScrollSelectionPath(componentTree.getSelectedTreePath()); |
|
|
|
|
SwingUtilities.invokeLater(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
componentTree.refreshUI(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private JPanel getWidgetPane() { |
|
|
|
|
shorts = createShortcuts(); |
|
|
|
|