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