Integrate processing and the javax.swing library in eclipse.
in
Integration and Hardware
•
10 months ago
Hey all,
Is there a way to use the javax.swing.*; library with the processing.core.*; library, all in a java project in eclipse? If you are firmiliar with the swing library, you know it creates a new runnable and then executes a class. It requires all objects inside the displayed JFrame to be parented by a JPanel which is, in turn, parented by said JFrame. Problem is, how would I mount a processing component like an ellipse, onto a JPanel? Or, mount a JComponent (swing component/object) onto an existing PApplet? Or even better, mount the PApplet onto the JFrame.
andrewgies17
1