i have litle confuse, why do you create a method getMinimunSize()? if you just return a value of getPrefferedSize()?