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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -