<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>55</bug_id>
          
          <creation_ts>2003-11-25 05:09:34 +0100</creation_ts>
          <short_desc>GridLayout with GLCanvas behave differently on Mac</short_desc>
          <delta_ts>2010-03-24 07:46:08 +0100</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:46:08 +0100</bug_when>
    <thetext>


---- Reported by aaron_08544 2003-11-25 17:09:34 ----

Hi, I was trying to add a Panel to Frame in Gears demo to show a 2x2 grid
layout. On Windows it works fine but on Mac the GLCanvas shows up in the wrong
cell. Here&apos;s the snippet of the code modified from Gears.java demo.

GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new
GLCapabilities());
canvas.addGLEventListener(new GearRenderer());
frame.add(placeInPanel(canvas));

 static Panel placeInPanel(Canvas canvas)
     {
      Panel panel = new Panel(new GridLayout(2,2));
      panel.add(canvas);
      panel.add(new Label(&quot;2&quot;));
      panel.add(new Label(&quot;3&quot;));
      panel.add(new Label(&quot;4&quot;));
     return panel;
     }

-Aaron



---- Additional Comments From kbr 2005-01-30 23:56:47 ----

Sorry for not looking into this sooner. This example works fine as of Mac OS X
10.3 and JOGL 1.1 b07. I&apos;m not sure exactly where the original problem was.




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

This bug was previously known as _bug_ 55 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=55
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>