Whether a label is re-sizeable or not depends on layout manager of a panel the label has been inserted. Most of the layout managers shape its children components according to preferred size of the components. So you can either use appropriate layout manager or control label preferred size via "setPreferredSize" method.
Whether a label is re-sizeable or not depends on layout manager of a panel the label has been inserted. Most of the layout managers shape its children components according to preferred size of the components. So you can either use appropriate layout manager or control label preferred size via "setPreferredSize" method.