Path: news.mathworks.com!not-for-mail
From: "Andrea Tagliasacchi" <ata2@nospam.cs.sfu.ca>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Enlarging size of toolbars
Date: Fri, 29 Feb 2008 01:16:08 +0000 (UTC)
Organization: Simon Fraser University
Lines: 21
Message-ID: <fq7mco$9tb$1@fred.mathworks.com>
References: <31128702.1203057471171.JavaMail.jakarta@nitrogen.mathforum.org> <fq4pih$s8e$1@fred.mathworks.com>
Reply-To: "Andrea Tagliasacchi" <ata2@nospam.cs.sfu.ca>
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 1204247768 10155 172.30.248.37 (29 Feb 2008 01:16:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 29 Feb 2008 01:16:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1058872
Xref: news.mathworks.com comp.soft-sys.matlab:454456


"Yair Altman" <altmanyDEL@gmailDEL.comDEL> wrote in message 
> As Per suggested, this can be done with Java. Note that the
> following is undocumented, unsupported, and may fail in
> future Matlab versions.

[....]

> As an alternative to using Matlab's uipushtool/uitoggletool,
> you can always add JComponents directly into jToolbar. 

Hello Yair, you described to me two solutions, the first
accessing the java structure behind uipushtool, the second
adding directly JComponents into the toolbar.

Are both of them undocumented (thus unreliable) or adding
objects to jToolbar is a somehow safer solution? Also, this
would work only in recent MATLAB releases if I am not wrong,
since when the standard GUI has been implemented in JAVA, right?

Thanks, 
Andrea