Relates :
|
|
Relates :
|
Both Component and JComponent have field "accessibleContext". In Component is't package private and accessed by other classes from java.awt, but in JComponent it's protected (and therefore this field hides the field from superclass). It should be refactored to a single field, which is protected in Component.
|