Does anyone know how to take a screen shot of a JFrame or any Java Swing application which is NOT visible?

jframeobj.setVisible(false);

Something to extract the information from the memory itself?

SCREENshot, that's a recording of what's visible on the SCREEN.
Something invisible will not be on one.

Yes but there is something called as virtual screen. So I was wondering if java could capture that?

In that case you would have to create your own virtual screen by making those components visible.

errr... if you want to take the screenshot of something that's invisible, then make it as visible, and then say that this is invisible???? lol... that's the best idea i can give you :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.