ECS Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
JAVA ScrollPane bugs ??
Mark Gilmore
Thu, 15 Jan 2004 16:33:50 -0800
Thu, 15 Jan 2004 16:33:50 -0800
I am having "issues" with a JAVA ScrollPane under Linux (in both applet and 
stand-alone pgm):
The ScrollPane is composed as follows:
         panel (GridLayout):
                 panel 1 (FlowLayout - line 1):
                         Label 1
                         Label 2
                         . .
                         Label n
                 panel 2 (FlowLayout - line 2)
                         Label 1
                         Label 2
                         . .
                         Label n
                 panel n (FlowLayout - line n)
                         Label 1
                         Label 2
                         . .
                         Label n
JAVA/Blackdown/Linux:
         various setScrollPosition() calls:
                 can cause scrollbar to change sizes (for no apparent reason)
                 can cause scrollbar to disappear
                 can move scrollbar to be "wrong" position (e.g. it could 
be at top when region is *not*)
         region works perfectly
JAVA/Sun/Linux:
         various setScrollPosition() calls:
                 fail to move region at all
                         entire region repaints, but region stays at the top
                         BUT if i merely *click* the scrollbar, it paints 
*correctly*
         scrollbar works perfectly
JAVA/Sun/Win:
         all works perfectly
JAVA/MSVM/Win:
         all works perfectly

Any ideas or theories ?
I find it hard to believe that both Sun and Blackdown are *that* buggy (esp 
which such a commonly used feature).
Thanks,

Mark Gilmore
http://OmnipotenceSoftware.com 



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.