Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » XServer oddity
XServer oddity [message #758502] Wed, 23 November 2011 13:44 Go to next message
Rainer H. is currently offline Rainer H.
Messages: 15
Registered: July 2009
Junior Member
Hi,

I've found an oddity using WindowBuilder in a mixed OS environment. I use WindowBuilder on a Linux machine, but forward the XWindow via XMing XServer to a Windows machine.

Creating now a new panel WindowBuilder shows me an titlel area in the design view.(see attachment)

Here the created code:
import com.eads.fo.framework.filters.gui.FilterPanel;
public class SupplyGroupFilterPanel extends FilterPanel {
	/**
	 * Create the panel.
	 */
	public SupplyGroupFilterPanel() {
	}
}


Very simple but odd, isn't it.

The problem now is when adding additionally components to the panel they maybe occur under the title area and so they will may be not seen.

Using WindowBuilder on Windows directly, or on Linux directly doesn't show the title area!

Any idea's to avoid the problem in a mixed environment.


Regards
Rainer
Re: XServer oddity [message #758617 is a reply to message #758502] Wed, 23 November 2011 21:49 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric Clayberg
Messages: 857
Registered: July 2009
Location: Boston, MA
Senior Member
WindowBuilder doesn't support remote environments like running XServer on a Windows machine. In order to work properly, WB needs very tight integration with each OS in order to get the correct widget images and bounds.
icon3.gif  Re: XServer oddity [message #758663 is a reply to message #758617] Thu, 24 November 2011 07:24 Go to previous message
Rainer H. is currently offline Rainer H.
Messages: 15
Registered: July 2009
Junior Member
Now I've found a solution for my problem. Adding "AWT_TOOLKIT=MToolkit" in the environment of the target(Linux) will solve the problem!

Previous Topic:CUSTOM COMPONENT
Next Topic:WindowBuilder from source code
Goto Forum:
  


Current Time: Tue Sep 02 21:16:39 GMT 2014

Powered by FUDForum. Page generated in 0.01666 seconds