Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4485409

JToolBar should have some simple methods to get and set the rollover property

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta3
    • x86
    • windows_nt

      In Merlin, JToolBar now supports rollover toolbar buttons. This functionality was exclusive to metal in earlier versions but has been refactored into Basic so that the new Windows LAF now supports this feature.

      Turning this feature on or off is hidden away in an obscure client property on the JToolBar instance:

      toolbar.putClientProperty("JToolBar.isRollover"), Boolean.TRUE);

      This feature would be much more promenent if there was a specific APIon JToolBar which would call the above client property:

      void setRollover(boolean);

      boolean isRollover();

            mdavidsosunw Mark Davidson (Inactive)
            mdavidsosunw Mark Davidson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: