Skip to main content



      Home
Home » Eclipse Projects » WindowBuilder » XServer oddity
XServer oddity [message #758502] Wed, 23 November 2011 08:44 Go to next message
Eclipse UserFriend
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 16:49 Go to previous messageGo to next message
Eclipse UserFriend
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 02:24 Go to previous message
Eclipse UserFriend
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: Sun Jul 27 07:55:11 EDT 2025

Powered by FUDForum. Page generated in 0.04128 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top