Why does my Java dialog box disappear if I minimize MATLAB 7.0.1 (R14SP1)?

2 views (last 30 days)
If I have a Java dialog box open and I select Show Desktop from my "quick launch" menu, my dialog box disappears. If I maximize MATLAB from the taskbar MATLAB reappears but the Java dialog box does not and the dialog box does not have an icon on the taskbar.
To reproduce, create a timer function which will produce a Java based modal question dialog box and set it to initiate in five or ten seconds.
start(timer('StartDelay',5,'TimerFcn','questdlg(''timer question'');',...
'StopFcn','delete(timerfind(''Name'',''testtimer''))',...
'Name','testtimer'));
Before the timer function initiates, open a uigetfile dialog with the following command:
uigetfile('','modal blocker');
Now wait for the timer function questdlg prompt to appear.
Click on "show desktop" from the "quick launch" menu. Maximize MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
We have verified that there is a bug in MATLAB 7.0.1 (R14SP1) when using Java dialog boxes.
To work around this issue, after maximizing MATLAB, maximize another program from the taskbar, then minimize the program that was just maximized. The Java dialog box will now be visible.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!