|
|
|
@ -668,14 +668,14 @@ public class MultiTemplateTabPane extends JComponent {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private boolean isOverCloseIcon(int evtX) { |
|
|
|
|
boolean isOverCloseIcon = false; |
|
|
|
|
boolean overCloseIcon = false; |
|
|
|
|
for (int i = 0; i < startX.length; i++) { |
|
|
|
|
if (evtX >= startX[i] && evtX <= startX[i] + CLOSE.getIconWidth()) { |
|
|
|
|
isOverCloseIcon = true; |
|
|
|
|
overCloseIcon = true; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return isOverCloseIcon; |
|
|
|
|
return overCloseIcon; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|