not sure i get it either… unless it’s about using * 0.75f instead of (3/4)…
personally i always put my setBounds in the resized() call too. not sure if it makes a difference, but i always set my bounds AFTER the component has been added and made visible. makes more sense to me logically, not sure if it actually has an effect.
yeah that’d do it :hihi: wanna make sure that multiplier isn’t just being done as an int calculation before the result gets converted to an int. your second ‘working’ code example doesn’t even use the *(3/4) result as it has getWidth/constant style values. so i’d put *0.75f in instead and see how that fares.