Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi,
I am trying to incorporate with JAVA swing and Jogl. I used JFrame and made a button on a frame so that when an user clicks it opens another window for JOGL. However it works on some examples yet does not work on some. It is strange. Can anyone knows how to fix this error? Thanks for the help. Here is the error message: The Thread: AWT-EventQueue-0 threw the uncaught exception: javax.media.opengl.GLDrawableFactory.initSingleton()V. Exiting the application java.lang.NoSuchMethodError: javax.media.opengl.GLDrawableFactory.initSingleton()V at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1244) at javax.media.opengl.GLProfile.access$000(GLProfile.java:75) at javax.media.opengl.GLProfile$1.run(GLProfile.java:133) at java.security.AccessController.doPrivileged(Native Method) at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:122) at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:151) at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1688) at javax.media.opengl.GLProfile.get(GLProfile.java:652) at javax.media.opengl.GLProfile.get(GLProfile.java:668) at edu.umn.jpstitch.ui.volumeTab.ThreeDimensionWindow.<init>(ThreeDimensionWindow.java:23) at edu.umn.jpstitch.ui.volumeTab.ThreeDimensionWindow.<clinit>(ThreeDimensionWindow.java:17) at edu.umn.jpstitch.ui.volumeTab.ButtonListener.actionPerformed(ButtonListener.java:29) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Hi
Which version of JOGL do you use? Are you sure you didn't mix several versions of JOGL into your environment?
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I am using the JOGL version 2.1. And can u please tell how to check if am mixing the JOGL versions??
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Please use the latest version of JOGL. Mixing versions is if you have several versions of JOGL JAR files on your java classpath.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
But switching to a new version of jogl didn't solved my problem..
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
It didn't solve your problem because either the JARs of the latest version aren't in your classpath (or the JARs of several versions of JOGL are in your classpath) or your source code uses the old package names whereas they have been modified in JOGL 2.3. We only maintain the latest version which is currently JOGL 2.3.2, please use it.
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |