6684916: jframe.setMaximizedBounds() has no effect in linux
Specification should indicate that the feature may be unsupported on some platforms. Reviewed-by: art, dcherepanov
This commit is contained in:
parent
7628a59414
commit
99d8a50297
@ -845,8 +845,11 @@ public class Frame extends Window implements MenuContainer {
|
|||||||
* others by setting those fields you want to accept from system
|
* others by setting those fields you want to accept from system
|
||||||
* to <code>Integer.MAX_VALUE</code>.
|
* to <code>Integer.MAX_VALUE</code>.
|
||||||
* <p>
|
* <p>
|
||||||
* On some systems only the size portion of the bounds is taken
|
* Note, the given maximized bounds are used as a hint for the native
|
||||||
* into account.
|
* system, because the underlying platform may not support setting the
|
||||||
|
* location and/or size of the maximized windows. If that is the case, the
|
||||||
|
* provided values do not affect the appearance of the frame in the
|
||||||
|
* maximized state.
|
||||||
*
|
*
|
||||||
* @param bounds bounds for the maximized state
|
* @param bounds bounds for the maximized state
|
||||||
* @see #getMaximizedBounds()
|
* @see #getMaximizedBounds()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user