Converse from AWT to Swing in Pepijn example

Hello. I started learning Jogl not long ago and maybe it’s a reason why I have one (probably silly for more advanced people) problem.
I am analysing Nehe tutorial converted to JSR by Pepijn, its all ok till I don’t try to rewrite GLDisplay.java into Swing. I tried to do it in a way described in Pro Java 6 3D Game Development ( http://fivedots.coe.psu.ac.th/~ad/jg2/index.html ) but still no luck. I am not very experienced in Java so If anyone could help me I would be grateful. I need Jogl with Swing for my further more advanced project and my menour said it would be easier if I use Swing instead of AWT.
Thank you in advance for your time and help.

Regards,
Saxum

PS: I didn’t attach source code for obvious reason, its too long :slight_smile: It can be downloaded from http://pepijn.fab4.be/?page_id=34