Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Profiling Java in Matlab
Date: Mon, 12 Nov 2007 18:47:06 +0000 (UTC)
Organization: King's College London
Lines: 18
Message-ID: <fha73a$lf5$1@fred.mathworks.com>
References: <fcqhf3$fcj$1@fred.mathworks.com> <feg3vs$6ha$1@fred.mathworks.com> <fgaj1g$imo$1@fred.mathworks.com> <fgatsr$e8r$1@fred.mathworks.com> <fgfmur$j3k$1@fred.mathworks.com> <fh9u3n$779$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1194893226 21989 172.30.248.35 (12 Nov 2007 18:47:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 12 Nov 2007 18:47:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477
Xref: news.mathworks.com comp.soft-sys.matlab:437144



I vote with Yair. I use swing components extensively for my 
GUIs. They are more extensive, controllable, flexible and a 
lot more attractive than the MATLAB GUIs. They also produce 
more consistent results across platforms.

I have not seen the exceptions Yair comments on in R2007B 
but saw something similar in its pre-release. The fix from 
TMW support then was 
"To prevent these warning messages from appearing, you may 
create a java.opts file in the $MATLAB/bin/$ARCH 
(Where $MATLAB is your root MATLAB directory and $ARCH is 
your architecture.) 
or in the current directory when you start MATLAB, 
containing the following command:
-Dmathworks.WarnIfWrongThread=false"