That is true, but it shouldn't have anything to do with subclassing. That just 
means that you can't add a Window to another container (except a Display).

Most of the tutorial examples use this approach - for example:

http://svn.apache.org/repos/asf/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/buttons/PushButtons.java
http://svn.apache.org/repos/asf/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/buttons/push_buttons.bxml

If you want to create a component that you can use within another container, 
you'll need to extend a different class. Maybe BoxPane or TablePane?

On Dec 2, 2010, at 1:12 AM, Bill van Melle wrote:

> Well, Window was the first thing I tried subclassing, but it doesn't work -- 
> it complained that it couldn't parent a Window to anything but a display.

Reply via email to