final JScrollPane planScrollPane = new HomeScrollPane(planView);
setPlanRulersVisible(planScrollPane, controller, preferences.isRulersVisible());
final JComponent lockUnlockBasePlanButton = createLockUnlockBasePlanButton(home);
if (lockUnlockBasePlanButton != null) {
planScrollPane.setCorner(JScrollPane.UPPER_LEADING_CORNER, lockUnlockBasePlanButton);
planScrollPane.addPropertyChangeListener("componentOrientation",
new PropertyChangeListener () {
public void propertyChange(PropertyChangeEvent ev) {
if (lockUnlockBasePlanButton.getParent() != null) {
planScrollPane.setCorner(JScrollPane.UPPER_LEADING_CORNER, lockUnlockBasePlanButton);
}