8296222: SwingEventMonitor - installListeners(Component , int ) - CELLEDITOR - bug
Reviewed-by: angorya, kizune
This commit is contained in:
parent
b9d6e83e9b
commit
5795c760db
@ -987,7 +987,7 @@ public class SwingEventMonitor extends AWTEventMonitor {
|
|||||||
//
|
//
|
||||||
try {
|
try {
|
||||||
getCellEditorMethod = c.getClass().getMethod(
|
getCellEditorMethod = c.getClass().getMethod(
|
||||||
"getCellEditorMethod", nullClass);
|
"getCellEditor", nullClass);
|
||||||
try {
|
try {
|
||||||
Object o = getCellEditorMethod.invoke(c, nullArgs);
|
Object o = getCellEditorMethod.invoke(c, nullArgs);
|
||||||
if (o != null && o instanceof CellEditor) {
|
if (o != null && o instanceof CellEditor) {
|
||||||
@ -1633,7 +1633,7 @@ public class SwingEventMonitor extends AWTEventMonitor {
|
|||||||
//
|
//
|
||||||
try {
|
try {
|
||||||
getCellEditorMethod = c.getClass().getMethod(
|
getCellEditorMethod = c.getClass().getMethod(
|
||||||
"getCellEditorMethod", nullClass);
|
"getCellEditor", nullClass);
|
||||||
try {
|
try {
|
||||||
Object o = getCellEditorMethod.invoke(c, nullArgs);
|
Object o = getCellEditorMethod.invoke(c, nullArgs);
|
||||||
if (o != null && o instanceof CellEditor) {
|
if (o != null && o instanceof CellEditor) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user