I am using ubuntu 10.04, but found this in other ubuntu distributions as well.
When I launch the first application JFrame, it will not start with the default size (setSize ()), but instead it will maximize across the screen.
I have one workaround for this, which is to use setResizable (false) (which brings the window to its intended size), then I returned it to true (I still want to resize).
Does anyone know where this error came from? Is there an elegant way to handle this?
Thanks,
source share