I'm fairly new to Xith and Java development. I was trying to have an easy swing GUI just come up on top of Xith. While I can get it to work on my PC, the Mac has problems.
Relevant code is pretty short:
JFrame mainFrame = new JFrame();
Panel panel = new Panel();
Button button = new Button("click me");
RenderPeer rp = new RenderPeerImpl();
CanvasPeer cp = rp.makeCanvas(mainFrame.getLayeredPane(),640,480,32,false);
Canvas3D canvas = new Canvas3D();
You should see your Xith render on the left of the frame with the button on the right side - half over the render and half not. On the PC this works fine, the whole button is drawn on top of Xith. But on the Mac Xith is always drawn on top - you only see the half of the button.
Any thoughts on why they'd be diffrent or what I could do to fix it?