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

Add setFocusPainted(boolean b) to Control

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8u5
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      If I'm not mistaken it is really hard to do something as simple as removing the focus painting for Controls.

      An example is here: http://www.jensd.de/wordpress/?p=1245

      I know that the way you have architected things, removing the focus might not be extremely simple. Nevertheless I quite often want to do this for different reasons. One of them being that the focus gfx in modena is far too intrusive and "hard" on the eye. Another reason is when you compose larger controls of smaller ones you might want to show the focus in the larger component and not in the smaller, internal, one.

      Swing have a setFocusPainted for JButton which was very helpful.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mgrev Mikael Grev
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Imported: