You can turn off the native window trim using either of the approaches Chris 
mentioned. However, you will lose the ability to drag the the host window 
around the screen, since a Pivot frame doesn't know how to do that (it only 
knows about the Display it lives in - not the native host component or window 
that contains it). If you think this would be a valuable addition to the 
platform, we could certainly give it some more thought.

On Sep 27, 2010, at 6:39 AM, Chris Bartlett wrote:

> Also...
> 
> // Get a reference to the native host frame
> java.awt.Frame hostFrame = 
> (java.awt.Frame)display.getDisplayHost().getParent();
> 
> http://apache-pivot-users.399431.n3.nabble.com/Hide-show-main-window-tp434245p436084.html
> 
> On 27 September 2010 17:33, Chris Bartlett <[email protected]> wrote:
> Is this what you mean?
> 
> https://issues.apache.org/jira/browse/PIVOT-544
> 
> On 27 September 2010 10:39, Mark Miller <[email protected]> wrote:
> I was hoping I could kill the native decorations and keep the pivot
> decorations rather than kill the pivot and keep the native...
> 
> No go?
> 
> On 9/26/10 8:11 PM, Greg Brown wrote:
> > A maximized frame, that is.
> >
> > On Sep 26, 2010, at 8:09 PM, Greg Brown wrote:
> >
> >> You can set the "showWindowControls" style to false to turn off the window 
> >> trim on a Frame.
> >>
> >> On Sep 26, 2010, at 7:21 PM, Mark Miller wrote:
> >>
> >>> Anyone know how to drop the native window decoration with a pivot app? I
> >>> want the pivot window decorations to be appear to be the top level window.
> >>>
> >>> I see that you can make a call to turn off decorations on the awt frame,
> >>> but apparently pivots Application#startup is too late to do that...
> >>>
> >>> hints?
> >>>
> >>> - Mark
> >>
> >
> 
> 
> 

Reply via email to