   JOGL
  I'm using JOGL.If I try to import javax.media.opengl it says "package javax.media does not exist" , but If I use something like javax.media.opengl.GLIt works. It is confusing me so much.   
  You have to import classes, not packages. To import all classes of a package use:import javax.media.opengl.*;   