Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Is there a way to set gcbf when a java callback is executing?

1 visualización (últimos 30 días)
Joseph Burgel
Joseph Burgel el 31 de En. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
When a callback defined in this manner:
JMenuItem = ...
javaObjectEDT('javax.swing.JMenuItem',strMenuName);
h_Java = handle(JMenuItem, 'CallbackProperties');
set(h_Java,'MouseReleasedCallback',Callback);
is executing, gcbf() returns empty. This causes msgbox() to misplace itself. Any way to set gcbf() on callbacks created this way?

Respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by