Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Java-table with horizontal scroll bar
Date: Thu, 18 Feb 2010 12:04:06 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 18
Message-ID: <hljabm$730$1@fred.mathworks.com>
References: <hlj6ut$pvu$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1266494646 7264 172.30.248.38 (18 Feb 2010 12:04:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 18 Feb 2010 12:04:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1886545
Xref: news.mathworks.com comp.soft-sys.matlab:609207

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <hlj6ut$pvu$1@fred.mathworks.com>...
> I'm using the wonderful Java-based table by Yair Altman:
> http://www.mathworks.com/matlabcentral/fx_files/14225/1/table.png
> 
> The table is embedded within a GUI panel. When the table is longer than the panel, a vertical scroll bar automatically appears. But when the table is larger, it does not seem to have an similar horizontal scroll bar. Is it possible?
> 
> I run 2006B under windows. Here is the example code:
> 
> f = figure();
> createTable(f, num2cell(rand(1,100)), num2cell(rand(100))) ;
> 
> Thanks,
> 
> Bruno

Quickly tested your lines of code... R2009b Win64 2008 doesn't have horizontal scroll bar.

Oleg