Note that opening multiple displays is only possible if you are deploying your 
application to the desktop. In a web browser, your application will still be 
constrained to the bounds of the applet. If you plan to deploy to the web as 
well, you are probably better off using a Sheet.

On Dec 5, 2010, at 10:47 AM, Greg Brown wrote:

>> in my application I need to open a second window, a dialog, but I don't like
>> the idea of having a dialog which ca be moved around only in the main
>> window. Is it possible to open two windows? 
> 
> Pivot windows are all contained within a single display. If you are using 
> Pivot 2.0, you can open multiple displays, each of which is contained in a 
> native host window. See this example:
> 
> http://svn.apache.org/repos/asf/pivot/trunk/examples/src/org/apache/pivot/examples/displays/multiple_display_example.bxml
> 
> Another option is to use a Sheet or Prompt instead of a Dialog or Alert. 
> These windows still only exist within the Pivot display, but they can't be 
> moved by the user, which may offer a better user experience depending on your 
> needs.
> 
> G
> 
> 

Reply via email to