-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.2.2
-
generic
-
generic
Name: dbT83986 Date: 08/07/99
I want to extend the behavior of the single click
listener so that i can programatically disable the rename
capability.
The inner class SingleClickListener is protected
and so in a class that extends MetalFileChooserUI i can do
protected myListener extends SingleClickListener {...}
however to get my listener installed, i need to override
createSingleClickListener
but this is private and so i can not override it.
createSingleClickListener should be protected.
One idea is to override createList(), but it needs to set the
instance variable "list" which is private. So this can not
be done either. Changing installComponents() which invokes
createList() is not practical.
(Review ID: 93561)
======================================================================
- duplicates
-
JDK-4525475 Cannot prevent file-system modification in JFileChooser
-
- Resolved
-