Is dynamic JFrame resizing posible?
hi, i'm from germany, so sorry for my bad english.
i've made an jframe with several jlabels with images and so at size 300,456.
the jframe is not resizable and undecorated, so i made an image at the top to be my pseudo header.
the header size is about 30.
what i want is following:
if the user klicks on my button the jframe should "roll-up", so it ends at size 300,30.
i tried it with a for statement and it works fine, BUT all images and components were not displayed during resizing, this looks bad.
when i display an awt label first on the contentpane and give it a background ot text, this is shown during resize, but an awtlabel isnt capable of conaining an image, if it were i would make a screenshot with the robot for "fake"-showing the frame while resize.
And badly all swing components are not shown during resize, so a jlabel-image is not displayed.
can someone help me please?
can i use a pseudo-trick for doing this?
perhaps has someone an other solution than mine?
mfg eripsa

