Skip to main content

Maximize button in JDialog

1 reply [Last post]
nightrider
Offline
Joined: 2003-06-11

Hello,

how can I display a maximize button in the upper right-hand corner of a JDialog window ?

I succeeded in making the JDialog resizable, but (on Windows) there is only a close button. I presume that when a window is resizable, it would also make sense to have a maximize button !?
Even better would be method to configure it...

Regards,
Peter

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
denismo
Offline
Joined: 2003-06-28

Dialogs are not supposed to be maximized. They don't have an y API for that and therefore the corresponding actions (not only on Windows) are disabled which the buttons for these actions disappear from the title.