<Swing Dev> [9] Review request for 8165234 Provide a way to not close toggle menu items on mouse click on component level

Alexandr Scherbatiy alexandr.scherbatiy at oracle.com
Fri Sep 2 12:30:49 UTC 2016


Hello,

Could you review the fix:
   bug: https://bugs.openjdk.java.net/browse/JDK-8165234
   webrev: http://cr.openjdk.java.net/~alexsch/8165234/webrev.00

   The fix JDK-8158566 adds "CheckBoxMenuItem.closeOnMouseClick" and 
"RadioButtonMenuItem.closeOnMouseClick" properties
   that control toogle menu items closing on mouse click on L&F level.

   The current fix allows to control menu items closing on a component 
level. A toogle menu item
   is not closed on mouse click if the corresponding property is set to 
false either on the L&F or component level.

  Thanks,
  Alexandr.




More information about the swing-dev mailing list