opengl for java(jogl)

1.6k views Asked by At

I added OpenGL plugin to my IDE(netbeans) using:

Tools->Plugins->Downloaded->Add plugins

But I can't import it to my program;

import javax.media.opengl.GL;

How should I do this?

Edit

while I want to install the plugin on a page write:

The plugin Editor Library is requested in version >= 1.29.2.8.2 (release version 1) but only 2.10.2.10.2 (of release version different from 1) was found. The following plugin is affected: GLSL editor

1

There are 1 answers

6
Goran Jovic On

You shouldn't add a library for your project as if it were a plugin.

Add it like this:

Right click on your project > Properties > Libraries > Add JAR/Folder

That should do the trick. You may want to refresh and rebuild your project after that, but I don't think it's necessary.