hi,
I think the answer is five because at first,u r setting the layout as flowlayout and adding buttons to it .after adding u r again setting the layout to borderlayout and u r not adding any buttons to it.so that's the reason u will get blank frame.
I may not correct,please check ur answer with others.