Answer the question
In order to leave comments, you need to log in
Why in Idea the form is a chunk???
I created a form, I launch it, and sometimes instead of a full-fledged window, a piece ... If I restart it several times, then a full-fledged window finally starts ... Idea development environment, java language. Has anyone come across something similar??
Answer the question
In order to leave comments, you need to log in
do you setVisible(true) for the frame before adding elements or after?
If TO, then the situation is possible when the window was displayed before the elements were added and the sizes were calculated incorrectly (minimal, since there was nothing in the frame at the time of calculating the sizes).
It's also better to specify the preferred (minimum) window sizes explicitly.
And it is better not to use Swing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question