Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如标题所示,我正在尝试将事件侦听器添加到JOGL项目中,但无济于事。任何帮助将非常感激
我从未使用过 JOGL,但从链接来看,它看起来像是一个 3D 绘画 API。如果是这样,那么自定义绘画的一般规则是您需要指定进行自定义绘画的面板的首选尺寸。这是因为滚动条仅在面板的首选大小大于滚动窗格的大小时出现。滚动条出现后,您的侦听器应该可以工作。