JDK-4763202 : RFE: JMenu is difficult to extend
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2002-10-15
  • Updated: 2017-05-23
Related Reports
Relates :  
Description
Name: rmT116609			Date: 10/15/2002


DESCRIPTION OF THE PROBLEM :
I have extended the JMenu class and would like my JMenu to use an extended JPopupMenu too, but I cannot redefine the place where the JPopupMenu is created (private method ensurePopupMenuCreated)

I suggest to put the call of "new JPopupMenu()" in a protected method so that I can use my own JPopupMenu instead.

(see also requirement bug # 4204904)

(Review ID: 165671) 
======================================================================

Comments
EVALUATION Contribution forum : https://jdk-collaboration.dev.java.net/servlets/ProjectForumMessageView?forumID=1463&messageID=16701
19-12-2006