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

RFE: ToolTipManager.sharedInstance is package private !!

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs

      Description

      Name: jk109818 Date: 06/30/2003


      A DESCRIPTION OF THE REQUEST :
        ToolTipManager.sharedInstance is package private then UI developers can poorly customize tooltips. this static field must be protected.
      furthermore, the JComponent.createToolTip() should call a new ToolTipManager.createToolTip(JComponent) method.

      (Personal comment: WHY Swing is so package protected ?? especially in Pluggable LookAndFeels implementations. the swing toolkit seems not very security sensitive, then increase its extensibility seems a normal requirement, this is developer friendly)

      JUSTIFICATION :
      This small correction enables nice StatusBar implementations for example, and many other applications.
      (Review ID: 188886)
      ======================================================================
      ###@###.### 10/13/04 18:58 GMT

        Attachments

          Activity

            People

            Assignee:
            alexp Alexander Potochkin (Inactive)
            Reporter:
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: