<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 10: Cannot use GLAnimCanvas in JPanel with BorderLayout (OSX)</title><link>https://sourceforge.net/p/gl4java/bugs/10/</link><description>Recent changes to 10: Cannot use GLAnimCanvas in JPanel with BorderLayout (OSX)</description><atom:link href="https://sourceforge.net/p/gl4java/bugs/10/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 03 Jul 2003 08:15:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gl4java/bugs/10/feed.rss" rel="self" type="application/rss+xml"/><item><title>Cannot use GLAnimCanvas in JPanel with BorderLayout (OSX)</title><link>https://sourceforge.net/p/gl4java/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;I'm using gl4java on OSX from the specially packaged&lt;br /&gt;
form of gl4java for OSX obtained from:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://homepage.mac.com/gziemski/projects/" rel="nofollow"&gt;http://homepage.mac.com/gziemski/projects/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The problem is that I am using GLAnimCanvas in a&lt;br /&gt;
JPanel with the layout of the JPanel set to BorderLayout.&lt;br /&gt;
As soon as I start the java application containing this,&lt;br /&gt;
the computer starts to seriously thrash and mouse&lt;br /&gt;
behaviour onscreen get really jittery, until finally I am &lt;br /&gt;
presented with the error:&lt;/p&gt;
&lt;p&gt;2003-07-03 18:06:52.221 java[716] invalid memory &lt;br /&gt;
allocation&lt;/p&gt;
&lt;p&gt;and various other forms of memory errors.&lt;/p&gt;
&lt;p&gt;I have tried all sorts of alternatives over many hours &lt;br /&gt;
including writing my own layout class, and it seems that as &lt;br /&gt;
soon as resize() is called on the GLAnimCanvas by the layout &lt;br /&gt;
class instance, the above problem rears its head.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;Will&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 03 Jul 2003 08:15:45 -0000</pubDate><guid>https://sourceforge.netf0e8b5cd66a85b42a4c9fddf909d81ebe010a8c2</guid></item></channel></rss>