Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Does Matlab need better GUI controls?
Date: Tue, 14 Apr 2009 18:38:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 3
Message-ID: <gs2l69$7pt$1@fred.mathworks.com>
References: <gs10ct$rfm$1@fred.mathworks.com> <gs11id$fs2$1@fred.mathworks.com> <1CUEl.16394$D32.8488@flpi146.ffdc.sbc.com> <gs2he9$2nk$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1239734281 7997 172.30.248.37 (14 Apr 2009 18:38:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 14 Apr 2009 18:38:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 939004
Xref: news.mathworks.com comp.soft-sys.matlab:532726


On original topic: The only thing I really wish they had was a better slider, and that's the only uicontrol I routinely replace with a JSlider. Scrollbars ~= sliders! If you're using vista the components should show up using the vista look and feel, unless you change the backgroundcolor property, then you'll get the old xp controls. I occasionally use other swing components when I want to do something fancy, like add an icon to a button. 

On making tabs: I wrote a small program to spit out x/y coordinates for a specified number of tabs with the specified tab "on top". I make an axes and literally draw the tabs with a line object, and use text() to fill in the names. The buttondownfcn's for the text objects load the appropriate tab uicontrols (deleting the old ones) and also recalculate the tab coordinates to make that tab be on top. It doesnt have the nice shaded borders of a real tabpane, but it is clean and effective and looks acceptable with any look and feel.