File path: /sql12/plugins/dataimport/src/net/sourceforge/squirrel_sql/plugins/dataimport/gui/ProgressBarDialog.java | File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/gui/DualProgressBarDialog.java | |||
Method name:
|
Method name:
|
|||
Number of AST nodes: 0 | Number of AST nodes: 0 | |||
1 | public static void setVisible(final boolean visible) {↵ | 1 | public static void setVisible(final boolean visible) {↵ | |
2 | if (dialog == null) {↵ | 2 | if (dialog == null) {↵ | |
3 | return;↵ | 3 | return;↵ | |
4 | }↵ | 4 | }↵ | |
5 | if (dialog.isVisible() != visible) {↵ | 5 | if (dialog.isVisible() != visible) {↵ | |
6 | if (SwingUtilities.isEventDispatchThread()) {↵ | 6 | if (SwingUtilities.isEventDispatchThread()) {↵ | |
7 | dialog.setVisible(visible);↵ | 7 | dialog.setVisible(visible);↵ | |
8 | } else {↵ | 8 | } else {↵ | |
9 | SwingUtilities.invokeLater(new Runnable() {↵ | 9 | SwingUtilities.invokeLater(new Runnable() {↵ | |
10 | public void run() {↵ | 10 | public void run() {↵ | |
11 | dialog.setVisible(visible);↵ | 11 | dialog.setVisible(visible);↵ | |
12 | | 12 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |