How set layout for Dialog?
-
26-10-2019 - |
문제
I tried to use
dialog.setLayout(BoxLayout.Y_AXIS);
but it doesn't work.
How can I set the layout?
해결책
Use this:
dialog.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
제휴하지 않습니다 StackOverflow