|
|
@ -115,14 +115,10 @@ public class TitleInsetImagePane extends JPanel implements UIObserver { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void mouseExited(MouseEvent e) { |
|
|
|
public void mouseExited(MouseEvent e) { |
|
|
|
super.mouseExited(e); |
|
|
|
super.mouseExited(e); |
|
|
|
int x = e.getX(); |
|
|
|
|
|
|
|
int y = e.getY(); |
|
|
|
|
|
|
|
if (x <= 0 || getWidth() <= x || y <= 0 || y >= getHeight()) { |
|
|
|
|
|
|
|
imagePreviewOverlayPane.setVisible(false); |
|
|
|
imagePreviewOverlayPane.setVisible(false); |
|
|
|
imageDeleteButton.setVisible(false); |
|
|
|
imageDeleteButton.setVisible(false); |
|
|
|
imageDeleteButton.setEnabled(false); |
|
|
|
imageDeleteButton.setEnabled(false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
return TableLayoutHelper.createCommonTableLayoutPane( |
|
|
|
return TableLayoutHelper.createCommonTableLayoutPane( |
|
|
|