> firePropertyChange(ORIENTATION_PROPERTY, curOrn, orientation);

This change is simply wrong. ORIENTATION_PROPERTY refers to horizontal or 
vertical.

Is there some reason why you don’t want to call

layoutManager.updateComponents();

Reply via email to