Hi folks,
this is my first post in this forum here, so, welcome everybody!
I’ve started jogl programming some days ago. Up to now, I have managed to detect mouseclicks in my scene ( ~> selecting/picking). What I would like to do now is the following:
Imagine a simple JPanel like eg,
JPanel pnl = new JPanel();
pnl.add(new JLabel("A test label"));
pnl.add(new JButton("first button"));
pnl.add(new JButton("second button"));
pnl.add(new JButton("third button"));
Now, say my scene contained a regular cube.
How can I embed my JPanel into one face of the cube?
This embedding of course would have to do more than just displaying the projected graphics of the panel,
also the event dispatching (mouseListener, mouseMotionListener, …) would have to be done somehow.
Thank you for your kind replies in advance,
with best regards,
Oliver