Why do I receive a "java.lang​.ArrayInde​xOutOfBoun​dsExceptio​n" error in MATLAB 7.0 (R14) when starting GUIDE?

3 次查看(过去 30 天)
When I start GUIDE by entering the following command at the MATLAB 7.0 (R14) prompt on Windows XP:
guide
I receive the following "java.lang.ArrayIndexOutOfBoundsException" error:
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: -2
at com.mathworks.mwt.MWGroupbox.initColors(MWGroupbox.java:571)
at com.mathworks.mwt.MWGroupbox.bufferedPaint(MWGroupbox.java:969)
at com.mathworks.mwt.MWPanel.paint(MWPanel.java:353)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at com.mathworks.mwt.MWPanel.bufferedPaint(MWPanel.java:324)
at com.mathworks.mwt.MWPanel.paint(MWPanel.java:353)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
<snip>

采纳的回答

MathWorks Support Team
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0 (R14) in the way that GUIDE handles nonstandard Windows XP color schemes.
To work around this issue, perform the following steps:
1. On Windows XP, open the Display Properties dialog. One way to access the Display Properties dialog is by right-clicking on the Windows desktop and selecting the "Properties" menu item from the context menu.
2. On the "Appearance" tab of the Display Properties dialog, select one of the following options in the "Color Scheme" drop-down list: Default (blue), Olive Green, or Silver.
3. Click "OK".

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by