Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / JOGL Development / Re: Netbeans with JOGL won't draw in designer + error on: 2007-09-28 03:47:50
I've updated and everything seems to now work fine! Good Show.

Now to get down to the issue of actually using OpenGL...
2  Java Game APIs & Engines / JOGL Development / Re: Netbeans with JOGL won't draw in designer + error on: 2007-09-27 05:14:44
Wow, that's good service! I'll try updating tomorrow, then. Thanks.
3  Java Game APIs & Engines / JOGL Development / Re: Netbeans with JOGL won't draw in designer + error on: 2007-09-27 01:08:55
Hm, I suppose it's possible, but the fact that I had the same problem on the Nvidia card seems to indicate to me that it's something else. I kept getting NoClassDefErrors, which made me think that Netbeans wasn't giving Java the proper JOGL/OpenGL libraries. And it went away for a while when I put DLLs in directories in the JDK, though perhaps a combination of things fixed it, as it now doesn't work again..

When you guys install the Netbeans beta and the update manager, all you have to do is download the relevant OpenGL plugins and everything works?
4  Java Game APIs & Engines / JOGL Development / Re: Netbeans with JOGL won't draw in designer + error on: 2007-09-26 22:17:48
Quote
Thanks for the report. We will have a look this weekend. Could you please give some more information of your PCs OS, GFX card, driver(-version)  and JDK(-version)?

Sure. I tested it on Windows XP SP2 and Vista Ultimate. Nvidia GeForce 7800 GS and Intel Media Accelerator 950 (some integrated card). JDK is 1.6.0.

I'm not sure of the JOGL version; it was the one obtained by getting the download manager from https://netbeans-opengl-pack.dev.java.net/, and I suppose must be whatever version it currently supplies.

Also, the problem seems to have re-manifested itself
5  Java Game APIs & Engines / JOGL Development / Netbeans with JOGL won't draw in designer + error on: 2007-09-26 03:49:18
When I try to add a GLJPanel in Netbeans 6.0 Beta 1 w/ JOGL something strange happens with the window rendering: I cannot see an object to place (no black GLJpanel or GLCanvas square like the screenshots show), and if I add it in and switch from designer view to source view and back again, the window will not redraw and things will look all messed up until I remove the object.

I also can view the following exception (trimmed):
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
java.lang.NoClassDefFoundError: Could not initialize class com.sun.opengl.impl.windows.WindowsGLDrawableFactory
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:169)
   at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:106)
...

   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
   at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
[catch at]
...
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)


I can compile and run the demos, however. I've installed it on two computers and followed the directions, and still have this problem.

Help!
Thanks.

Edit: Another error (perhaps more telling):
1  
2  
3  
4  
javax.media.opengl.GLException: Unable to create OpenGL context for device context 0x490109d2
   at com.sun.opengl.impl.windows.WindowsGLContext.create(WindowsGLContext.java:122)
   at com.sun.opengl.impl.windows.WindowsGLContext.makeCurrentImpl(WindowsGLContext.java:150)
...


And the Tools/OpenGL Capabilities dialog has no information in it.

Further Edit: Since the problem seemed to be the JVM Netbeans is using couldn't find the methods supplied in the JAR or perhaps DLL files, I stuck them all over the place in my JDK folders and now things seem to work. Odd, that.
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (27 views)
2014-07-29 18:09:19

Riven (16 views)
2014-07-29 18:08:52

Dwinin (14 views)
2014-07-29 10:59:34

E.R. Fleming (35 views)
2014-07-29 03:07:13

E.R. Fleming (13 views)
2014-07-29 03:06:25

pw (44 views)
2014-07-24 01:59:36

Riven (45 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!