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

RFE: ToolTipManager.sharedInstance is package private !!

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: