Mat
04-18-2002, 07:14 AM
Hi !
I create a GUI for a scientific program. I have a GLAnimCanvas class in which I draw a pipe.. My GUI is in Swing. I arrive to display my GLAnimCanvas in a JScrollPane but no correctly... The entire size of the GLAnimCanvas is always visible. I have a vertical scroll but when I move it, it recovers the rest of the GUI:
---------------------
Menu
---------------------
OpenGL GLAnimCanvas
---------------------
status bar
---------------------
the GLAnimCanvas will recover the menu and the status bar inspite of being hide by them...
I hope my explication is clear enough..
How could I do for having a correct crollbar ?
Thanks in advance for your help
Mat
I create a GUI for a scientific program. I have a GLAnimCanvas class in which I draw a pipe.. My GUI is in Swing. I arrive to display my GLAnimCanvas in a JScrollPane but no correctly... The entire size of the GLAnimCanvas is always visible. I have a vertical scroll but when I move it, it recovers the rest of the GUI:
---------------------
Menu
---------------------
OpenGL GLAnimCanvas
---------------------
status bar
---------------------
the GLAnimCanvas will recover the menu and the status bar inspite of being hide by them...
I hope my explication is clear enough..
How could I do for having a correct crollbar ?
Thanks in advance for your help
Mat