Just an FTI. There's a good book from Sun press with a chapter on peformance
tuning JTable models. It's "Java Platform Performance: Strategies and
Tactics" by Steve Wilson. He provides examples of optimized data models. In
general, it's one of the fews book I know that discusses Swing/UI
optimization.

-----Original Message-----
From: Ross Burton [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 12:27 PM
To: [EMAIL PROTECTED]
Subject: RE: Inefficient JTables


On 04 May 2001 16:59:19 +0100, Neil Thorne wrote:
> Sorry,
> what I actually did was override the getToolTipText method in my JTable
> subclass. Alternatively just override the method directly in the
declaration
> eg.
> 
> JTable fooTable=new JTable(){
>       public String getToolTipText(){
>               return "";
>       }
> };
> 
> cos I KNOW I don't want tool tips.

Excellent - Swing is hammering my model less now!  Note -
getToolTipText() is not a no-argument method - it's
getToolTipText(MouseEvent e).

Ross
-- 
Ross Burton                     Software Engineer
OneEighty Software Ltd          Tel: +44 20 8263 2332
The Lansdowne Building          Fax: +44 20 8263 6314
2 Lansdowne Road                [EMAIL PROTECTED]
Croydon, Surrey CR9 2ER, UK     http://www.180sw.com./
====================================================================
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act OneEighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act

_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to