java - how to dynamically increase JDialog size in swing? -
i have jdialog
, inside having jlabel
in contents added dynamically. set size of jdialog
, jlabel
(both having same size), if contents in jlabel
exceeds size of jdialog
, content not visible.
how can dynamically change size of jdialog
size gets matched content using layouts?
invoke pack
after jlabel content change.
Comments
Post a Comment