|
|
|
@ -452,21 +452,6 @@ public class UIResizableContainer extends JPanel {
|
|
|
|
|
repaint(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
if (e.getY() <= ARROW_RANGE_VERTICAL) { |
|
|
|
|
if (containerWidth == toolPaneHeight) { |
|
|
|
|
containerWidth = preferredWidth; |
|
|
|
|
} else { |
|
|
|
|
setPreferredWidth(containerWidth); |
|
|
|
|
containerWidth = toolPaneHeight; |
|
|
|
|
} |
|
|
|
|
refreshContainer(); |
|
|
|
|
if (DesignModeContext.isAuthorityEditing()) { |
|
|
|
|
DesignerContext.getDesignerFrame().doResize(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|