this program features the difference between border and flow layouts as they differ in terms of re-scaling our size of graphical window, with flow layout becoming disoriented.
whereas for the border layout, we can see nothing but the size of the components themselves ,changes.
to be more accurate, they (components) stay on their same position as they were.