Change the component weight dynamically in GridBagLayout
-
29-10-2019 - |
سؤال
Suppose now there are some components inside a JPanel and the layout is arranged using GridBagLayout. Is it possible to change the weight(weightx or weighty) of the components dynamically (e.g. after pressing a button)? Thank you.
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow