How set layout for Dialog?
-
26-10-2019 - |
Question
I tried to use
dialog.setLayout(BoxLayout.Y_AXIS);
but it doesn't work.
How can I set the layout?
Solution
Use this:
dialog.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow