When I resize my window with the GLCanvas I get some weird looking image afterwards:
Before resize:
http://studweb.hig.no/020843/before.png
After resize:
http://studweb.hig.no/020843/after.png
The code:
http://studweb.hig.no/020843/hello.java
Any ideas? I did a System.out.println() for every event (init, display, displayChanged, reshape) and it seem like ever time I resize the window it first trigger a reshape and then a display…if I force another repaint at the end of the reshape method it works, but why do I need 2 display() before it to work?
EDIT: fixed the URL as suggested