I'm collaborating on a mature desktop Swing application
A customer wants a dialog that:
1. Has a maximize button in the corner (I assume, the other standard frame buttons too, minimize and close)
2. Has a relationship with the "root frame". For example, the root frame shouldn't be minimizable while the dialog is still visible
I reimplemented the dialog, which used to be a `JDialog`, to be a `JFrame` subclass. It solved the first problem, but now it's totally oblivious to any root frames at all as `JFrame`s don't have parents
They [say][1] adding a maximize button to a `JDialog` is possible but not a good idea (though, I'm not sure why). The app is used in medical facilities, I don't want to take any chances
How do I meet the customer's expectations?
[1]:
https://stackoverflow.com/a/3897958/23539854