java - JDialog decorated true but without close button -
okay, researching saw lot of posts regarding topic "hide close button dialogs" none of them solved problem.the thing have dialog:

which keep decoration (borders, transparency , etc) hide or remove close button component cos handle cancel button.
if use
setundecorated(true); getrootpane().setwindowdecorationstyle(jrootpane.none); the result

which me terrible(not @ here since nothings on background)...so ask: there way handle problem dialog or setundecorated , getrootpane absolute? futher suggestions welcome. in advance.
you cannot remove "x" button without messing ui code (low level laf or native api), dont know worth of effort. however, if reaaaallllly need such functionality (and lots of money that;p) can write native code hide x button (yes totally possible), again, not worth of time :)
Comments
Post a Comment