|
|
@ -153,6 +153,7 @@ public class UITabsHeaderIconPane extends JPanel implements UITabComponent { |
|
|
|
try { |
|
|
|
try { |
|
|
|
Thread.sleep(3); |
|
|
|
Thread.sleep(3); |
|
|
|
} catch (InterruptedException e) { |
|
|
|
} catch (InterruptedException e) { |
|
|
|
|
|
|
|
Thread.currentThread().interrupt(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (currentPanel != panel) { |
|
|
|
if (currentPanel != panel) { |
|
|
@ -202,7 +203,7 @@ public class UITabsHeaderIconPane extends JPanel implements UITabComponent { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public int getSelectedIndex() { |
|
|
|
public synchronized int getSelectedIndex() { |
|
|
|
return selectedIndex; |
|
|
|
return selectedIndex; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|