void (float proportion) { boolean firstIsFixed = myFirstIsFixed; myFirstIsFixed = false; super.setProportion(proportion); int total = getSizeForComp(this); if (firstIsFixed) { myFirstFixedSize = (int) (myProportion * (total - getDividerWidth())); myFirstIsFixed = true; } }