Is it possible to attach a window from processing (java 3d) to a swinging block, for example a panel?

I want to add another window to existing JFrame or JComponent or something else, is there any way to do this?

EDIT: no, when I mean, when the title says, attack Processing 'the display window, processing basically does the stuff using 3d in java and rendering the 3d window. Whenever processing is done, it has its own window, and I want to attach it to my GUI. How can i do this.

+1
source share
1 answer

From processing.core.PApplet :

Processing is done in Frame , not in JFrame . However, there is nothing to let you embed a PApplet in a JFrame , it is just that the base version uses a regular AWT frame because you just don't need Swing in this context.

+3
source

Source: https://habr.com/ru/post/894028/


All Articles