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

Need more flexible ComponentPopupMenu support

XMLWordPrintable

      There is a JComponent.setComponentPopupMenu() method wich allows you to set a popup for this particular component, the problem is that it doesn't support different popups for different parts of the component.

      It is proposed to add a new method
      JComponent.getComponentPopupMenu(MouseEvent event)
      which you can override and return the popup for the particular coordiantes

      The same approach as getToolTipText(MouseEvent event) is implemented

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

              Created:
              Updated:
              Imported:
              Indexed: