The following two pictures are shown below. The highlighted part of the code are the only lines that are changed.
Picture 1 (Exhibit A):

Picture 2 (Exhibit B):

====================================================================================
In Picture 1, at lines 103 and 104, when the JFrame first starts to become visible, and then disable resizing, it causes a bug in JFrame.pack() method and display an inaccurate size of the JFrame's border size.
However, in Picture 2, when lines 103 and 104 are switched around, everything is correctly displayed.
So, what should I do about this? Should I report this or just leave it, as I have fixed it by using the solution in Picture 2? Thanks for viewing.






