Just thought I’d submit a problem and a solution incase anyone else has the same problem.
When creating a CanvasPeer from a com.xith3d.render.jogl.RenderPeerImpl I supply a JPanel as the owner. When this JPanel is resized then the canvas is not resized.
It took me some time, but I stumbled upon a solution. If you set the layout of that JPanel to BorderLayout then it will resize the canvas.
It seems that Xith3D or JOGL adds an extra component to the owner-JPanel, which is not resized upon JPanel’s resize since the JPanel uses a FlowLayout by default (which doesn’t resize its children).
