MATLAB: Doesn’t the Java frame appear on the right-click menu of the MATLAB 7.12 (R2011a) dock icon on a Mac OS 10.6.8

contextMATLABmenumissingundockedwindows

When I execute the code below, a frame is shown, but the entry for the frame does not show up when I right-click on the MATLAB icon on the Dock:
f = javax.swing.JFrame('test');
f.setVisible(true);

Best Answer

This is a bug in MATLAB 7.12 (R2011a).
As a workaround:
Miniature versions of open windows will appear when clicking and holding the mouse down on the MATLAB icon in the Dock.