[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: SWT_AWT/OpenGL pb on MAC os
|
- From: Laurent Mihalkovic <ljp_m@xxxxxxx>
- Date: Tue, 29 Apr 2008 13:25:19 -0400
- Newsgroups: eclipse.platform.swt
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.12 (Macintosh/20080213)
well, I think I might have figured why the fastviews go behind the GL
canvas.
Laurent M. wrote:
I have been working on an OpenGL/RCP app to do 3D display of HLA
simulations over top the earth globe. I ran into something odd: on MAC
OS (not tested on other platforms), fastviews to show up behind my
main GL canvas (hosted inside a intermediary Composite):
public void createPartControl(Composite parent) {
Composite top = new Composite(parent, SWT.EMBEDDED);
top.setLayoutData(new GridData(GridData.FILL_BOTH));
java.awt.Frame GLFrame = SWT_AWT.new_Frame(top);
java.awt.Panel panel = new java.awt.Panel(new
java.awt.BorderLayout());
GLFrame.add(panel);
I am trying here before asking somewhere else because something tells
me it is a low level pb
anyone else seen that?
--
Laurent Mihalkovic, co-author SWT/JFace in Action (www.manning.com/scarpino)