Disabling JavaFX minimise/maximise/etc buttons

Tom Schindl tom.schindl at bestsolution.at
Wed Jul 24 03:37:03 PDT 2013


I called it TrimButton because this is the term used in SWT - maybe
StageButton is the better word. StageButton should be an enum.

enum StageButton {
   MIN,
   MAX,
   CLOSE
}

Tom

On 24.07.13 12:29, Werner Lehmann wrote:
> I'd like this the most, assuming that a "trim button" is the same as a
> button on the window decoration (not familiar with the term trim
> button). Other than that, I'd also like the ability to minimize a modal
> dialog if that actually minimizes the main window... It is not common on
> Windows but makes a lot of sense.
> 
> Werner
> 
> On 23.07.2013 23:18, Tom Schindl wrote:
>> * disable iconification / maxification through trimbar buttons
>>    =>  then I'd vote for the possibility to set the buttons enabled on
>>       stage through a list-property and an enum
>>
>>    In code this would be:
>>    Stage s = new Stage();
>>    s.setTrimButtons(TrimButton... buttons)
> 



More information about the openjfx-dev mailing list