-
Enhancement
-
Resolution: Unresolved
-
P5
-
None
-
6
-
Fix Understood
-
x86
-
windows_xp
Name: jl125535 Date: 12/08/2003
A DESCRIPTION OF THE REQUEST :
There is no way to disable & then re-enable the minimize button on a JFrame. It would appear there are mechanisms to remove the minimize button (et al) before you first show the JFrame, however, once the JFrame is shown there is no way (using the same mechanisms) to put the minimize button back. The solution would be to disable & then re-enable the minimize button however this appears to be impossible for the current JDK 1.4.2. Why?????
JUSTIFICATION :
The internet is littered with people asking for similar functionality. It would appear to be a basic requirement for a mature GUI interface to allow this level of control.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I would expect to be able disable & then re-enable the minimize button on a JFrame at anytime just like I can call setEnabled(false/true) virtually at any time I like on a normal Component.
ACTUAL -
There does not appear to be an API interface that allows the expected behaviour. I tried using setResizable(false/true) but this has no effect on the minimize button of a JFrame.
(Incident Review ID: 228069)
======================================================================
- relates to
-
JDK-6199687 Setting JFrame Decorations and Functions should be more flexible
-
- Open
-
-
JDK-6674897 No method to support dynamic enabling of close(X) button on JDialog
-
- Open
-