开发者

how to save a JPanel as image while it is not Visible?

开发者 https://www.devze.com 2023-03-04 05:15 出处:网络
I need to save an ArrayList of JPanel as images but i cannot do it because just one of them returns true for .isDisplayable() at a time and the rest returns false ... and could not开发者_StackOverflo

I need to save an ArrayList of JPanel as images but i cannot do it because just one of them returns true for .isDisplayable() at a time and the rest returns false ... and could not开发者_StackOverflow be saved is there a nother way to do it ?? Thanks in advance :)


Try using camickr's Screen Image class.

If that does not capture the image of the panels which are not displayable, I doubt anything will.

0

精彩评论

暂无评论...
验证码 换一张
取 消