Changed layout manager to FlowLayout