You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the Wizard.java class, please make the dialog variable protected or provide a setter.
Some people want to change some dialog properties e.g. window size, resizable or set a window icon.
Now I even cannot subclass it!
The text was updated successfully, but these errors were encountered:
Hi, I have been looking for a way to access the inner Dialog object of a Wizard, in my case to prevent it being modal. It seems that elevating Wizard's getDialog() method (currently package-private to allow it to be unit tested) to public would solve my issue as well as this one, and related issues #756, #976, #999.
A setDialog() method could be useful as well, but it would have to incorporate some of the code in Wizard's constructor, and I'm not sure how we would handle the possibility of it being called after the Wizard dialog had already been displayed.
Are you still happy to receive a PR for this? If so I will submit one for making getDialog() public, as I think that meets the need with the minimum of complication.
ianrenton
added a commit
to ianrenton/controlsfx
that referenced
this issue
Mar 8, 2024
For the Wizard.java class, please make the dialog variable protected or provide a setter.
Some people want to change some dialog properties e.g. window size, resizable or set a window icon.
Now I even cannot subclass it!
The text was updated successfully, but these errors were encountered: