Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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?

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by