Skip to main content


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.Friend
Messages: 21
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 ClaybergFriend
Messages: 979
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.Friend
Messages: 21
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: Sat Apr 27 04:05:56 GMT 2024

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

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

Back to the top