Bug 234 - Using non resizable borders causes jogl to display incorrectly
Summary: Using non resizable borders causes jogl to display incorrectly
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All windows
: P3 normal
Assignee: Sven Gothel
Depends on:
Reported: 2006-07-07 02:12 CEST by Sven Gothel
Modified: 2010-03-24 07:49 CET (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:49:13 CET

---- Reported by torch23 2006-07-07 14:12:34 ----

When using jogl (either a GLJPanel or GLCanvas) with a non-resizable border
causes the viewport to be shifted (e.g. down and right by  2 pixels). You can
see this from the following code which shows a black border when the resizable
frame is uncommented 

SImgGLViewer glv = new SImgGLViewer(...);
JFrame fr = new JFrame();

Or perhaps you need to correct for this manually?

---- Additional Comments From kbr 2006-07-08 17:01:24 ----

Something is wrong with this bug report because JFrames are resizable by
default, so commenting out a call to JFrame.setResizable(true) is a no-op. I
tried modifying the VertexProgRefract demo to use a JFrame and switched between
having it resizable and not with no change in behavior (with both JDK 1.4.2 and
5.0). This must be a problem with the application. Please investigate it further
and post on the forums rather than filing a bug if you continue to have problems.

--- Bug imported by sgothel@jausoft.com 2010-03-24 07:49 EDT  ---

This bug was previously known as _bug_ 234 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=234