CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/08/30 10:41:41
Modified files:
javax/swing : JMenu.java
. : ChangeLog
Log message:
2006-08-29 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/JMenu.java
(getMenu): Removed unneeded cast.
(getPopupMenuOrigin): Made positioning algorithm better respect
the screen bounds.
(setMenuLocation): Also set the location on the popup if it's
not null.
(setModel): Use menuChangeListener so that we don't override
the changeListener field from AbstractButton.
(setPopupMenuVisible): Use custom location if set, otherwise
fallback to getPopupMenuOrigin().
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JMenu.java?cvsroot=classpath&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8472&r2=1.8473