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

Provide easy single-selection for TextLayout/RotFontBoundsTest.java

XMLWordPrintable

    • 2d

      Currently, the java/awt/font/TextLayout/RotFontBoundsTest.java test displays all 8 rotations at the same time and provides options to hide or show individual rotations.

      [~azvegint] suggested: it may be beneficial to provide an option to display only one rotation at a time.

      The current approach with check boxes allows displaying only one rotation, yet it requires two clicks: to hide the current rotation and then to show the following one. Not ideal, but flexible.

      To achieve single-selection, the check boxes could be replaced with radio buttons. If this is the only option available, it's easy to implement.

      If we want to allow flexibility of displaying multiple rotations at a time, the UI could become too crowded.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: