pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Whitcomb <Roger.Whitc...@actian.com>
Subject Re: Remove default toolbar with close/resize buttons
Date Mon, 31 Aug 2015 23:10:46 GMT
Oh, but another way to do this is to specify the "--undecorated=true" on the command line of
your application.  This will get parsed and passed in the startup properties.  If you look
in DesktopApplicationContext and search for "undecorated" you can see how this works during
Pivot initialization.

HTH,
~Roger

________________________________________
From: Roger Whitcomb
Sent: Monday, August 31, 2015 4:05 PM
To: user@pivot.apache.org
Subject: Re: Remove default toolbar with close/resize buttons

Hi and welcome to Pivot.

I'm in the middle of some other stuff, but I did a little looking around on Stack Overflow
and found this, which might help:

http://stackoverflow.com/questions/7553146/java-awt-remove-frame-title-bar-and-add-customised-title-bar

Basically you have to get the AWT window that is hosting the Pivot window and then do this
stuff to make the native window undecorated.  You can get the java.awt.Window object by calling
"getHostWindow()" on your Display object (use "getDisplay()" on any component to get that
value).

I will probably have some more time in the next couple of days to look into this, if you still
need some help.

Thanks,
~Roger


________________________________________
From: anda.nenu <anda.nenu@gmail.com>
Sent: Sunday, August 30, 2015 6:26 AM
To: user@pivot.apache.org
Subject: Remove default toolbar with close/resize buttons

I would like to remove the default toolbar from the top that has the close
button, resize button, and the Java icon.

Is there anyway to do this?





--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Remove-default-toolbar-with-close-resize-buttons-tp4023019.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.


Mime
View raw message