Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Joseph Burgel
Joseph Burgel 2018 年 1 月 31 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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