File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes JOGL Help: Adjusting glViewport() in display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JOGL Help: Adjusting glViewport() in display" Watch "JOGL Help: Adjusting glViewport() in display" New topic
Author

JOGL Help: Adjusting glViewport() in display

Stevie Shorey
Ranch Hand

Joined: Dec 10, 2012
Posts: 45

Hi,

How do i adjust the viewport and gluOrtho2D size once i have initiated them in init().
Basically when the user loads a new image, how do i adjust the viewport to this new image's size?
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JOGL Help: Adjusting glViewport() in display
 
Similar Threads
ViewPort resizing in JScrollPane embedded in JPanel is creating problem....
JPanel & JScrollPane problem
Can't make JTableHeader reorderingAllowed
Setting a scroll pane's scroll bar to the top after button click?
JScrollPane in JInternalframe and JPanel in JScrollPane