pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: “Always on Top” Windows Pivot
Date Mon, 10 May 2010 12:17:29 GMT
You call call setAlwaysOnTop() on the host frame:

  http://java.sun.com/javase/6/docs/api/java/awt/Window.html#setAlwaysOnTop(boolean)

First get the DisplayHost component that contains the display by calling Display#getDisplayHost(),
and then you can get the root AWT Frame from that.


On May 9, 2010, at 11:19 PM, dhaval vyas wrote:

> Hello, 
>       I am developing a small desktop app using pivot, and my app window need to stay
on top even if the user selects other window. 
> Is there a way to do this in Pivot. 
> I found a way to do this in JFrame, but I dont know how to port this in Pivot.
> 
> http://stackoverflow.com/questions/297938/always-on-top-windows-with-java
> 
> Thanks
> -- 
> Dhaval Vyas
> 


Mime
View raw message