changeset 6461:c508ecd2723b

[DOC ONLY] RT-32340: Update javadoc for MenuBar
author leifs
date Tue, 11 Mar 2014 10:43:11 -0700
parents d550116b8d71
children 0e800351fd4b
files modules/controls/src/main/java/javafx/scene/control/MenuBar.java
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/controls/src/main/java/javafx/scene/control/MenuBar.java	Tue Mar 11 17:54:41 2014 +0200
+++ b/modules/controls/src/main/java/javafx/scene/control/MenuBar.java	Tue Mar 11 10:43:11 2014 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -104,6 +104,11 @@
 
     /**
      * Use the system menu bar if the current platform supports it.
+     *
+     * This should not be set on more than one MenuBar instance per
+     * Stage. If this property is set to true on more than one
+     * MenuBar in the same Stage, then the behavior is undefined.
+     *
      * @since JavaFX 2.1
      */
     public final BooleanProperty useSystemMenuBarProperty() {