B4J Question SetFormStyle and Rules... how to bypass them... ?


Licensed User
Longtime User
Hi there...

I know that rules are rules... but sometimes need to bypass them... for example... I want .SetFormStyle("TRANSPARENT") for some minutes... but after that i want have a decorated window is that possible ... ? I know that if I set a style at window that is visible with a style not possible to change in runtime... but...

For example if using inline JAVA ?

Thanks in advance.


Licensed User
Longtime User
It doesn't appear so. From the javadoc (javafx.stage.Stage)


A stage has one of the following styles:

The style must be initialized before the stage is made visible.

You could use a second form then switch between the two. It depends on what you actually want to do with each form.
Upvote 0