OpenGL operation.

Hi All,
I have displayed a 3d object in Opengl. Now I want to rotate the object by clicking and dragging left mouse button and move the object from one place to other by clicking and dragging right mouse button…
Can any body please guide me how to do this in OpenGL. I am very new to this technology. Are there any API’s available for this.
Also can any one tell me how to display wired frame of the image.

Thanks a lot in advance.

Go to the Nehe tutorials: http://nehe.gamedev.net/

Lesson 48 is about Arcball rotation: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=48 The site itself is for C development, but there are ports of most lessons available here: http://pepijn.fab4.be/software/nehe-java-ports/