< prev index next >
src/java.desktop/macosx/classes/com/apple/laf/AquaInternalFrameUI.java
Print this page
*** 293,305 ****
replacePane(northPane, c);
northPane = c;
}
/**
! * Installs necessary mouse handlers on <code>newPane</code>
* and adds it to the frame.
! * Reverse process for the <code>currentPane</code>.
*/
@Override
protected void replacePane(final JComponent currentPane, final JComponent newPane) {
if (currentPane != null) {
deinstallMouseHandlers(currentPane);
--- 293,305 ----
replacePane(northPane, c);
northPane = c;
}
/**
! * Installs necessary mouse handlers on {@code newPane}
* and adds it to the frame.
! * Reverse process for the {@code currentPane}.
*/
@Override
protected void replacePane(final JComponent currentPane, final JComponent newPane) {
if (currentPane != null) {
deinstallMouseHandlers(currentPane);
< prev index next >