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

400 Bad Request on Apache/PHP AddHandler wrapper -

Add email recipient to all new Trac tickets -

php - Change action and image src url's with jQuery -