8296222: SwingEventMonitor - installListeners(Component , int ) - CELLEDITOR - bug

Reviewed-by: angorya, kizune
This commit is contained in:
Abhishek Kumar 2022-11-17 07:17:03 +00:00 committed by Jayathirth D V
parent b9d6e83e9b
commit 5795c760db

View File

@ -987,7 +987,7 @@ public class SwingEventMonitor extends AWTEventMonitor {
//
try {
getCellEditorMethod = c.getClass().getMethod(
"getCellEditorMethod", nullClass);
"getCellEditor", nullClass);
try {
Object o = getCellEditorMethod.invoke(c, nullArgs);
if (o != null && o instanceof CellEditor) {
@ -1633,7 +1633,7 @@ public class SwingEventMonitor extends AWTEventMonitor {
//
try {
getCellEditorMethod = c.getClass().getMethod(
"getCellEditorMethod", nullClass);
"getCellEditor", nullClass);
try {
Object o = getCellEditorMethod.invoke(c, nullArgs);
if (o != null && o instanceof CellEditor) {