As the开发者_开发问答 title suggests I am trying to add an event listener to a JOGL project to no avail. Any help would be much appreciated
I've never used JOGL, but from the link it looks like its a 3D painting API. If so then the general rule for custom paiting is that you need to specify the preferred size of the panel where you are doing the custom painting. This is because scrollbars only appear when the preferred size of the panel is greater than the size of the scrollpane. Once the scrollbars appear your listener should work.
精彩评论