Closed UltraBurstXD closed 4 years ago
You need to provide StyleId
before your frame's native peer is initialized (calling setVisible()
or pack()
forces window to initialize it's native peer) because once it is initialized - you cannot switch between native and custom window decoration and you will be stuck with whichever you had enabled.
The best and most optimal way - provide the StyleId
straight into constructor.
Thanks, it works!
Hi Mgarin,
I'm facing double windows title bar issues when my class inherits the l&f super class, WebFrame(). That only happens when I try to decorate the windows title bar frame. I don't know what I did wrong.
Here is the simple code:
Is WebFrame() class an internal frame?