-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
1.4.0
-
x86
-
linux
Name: jk109818 Date: 09/09/2002
FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
FULL OPERATING SYSTEM VERSION :
glibc-2.2.5, linux-2.4.19,
ALT Linux Sisyphus (20020615)
A DESCRIPTION OF THE PROBLEM :
I'd like to see a JViewport.setViewRect() method - opposite
to getViewRect(), analoguos to set/getViewSize()
set/getViewPosition() pairs.
It shouldn't be merely equal to calling
setView{Size,Position} one after another: only one
stateChange event should be fired, so that the scrollbars
don't reflect two changes immediately one after another (and
flicker) as it happens when the two present methods are
called one after another.
Such behaviour is required when a slightly unusual
JScrollPane mode has to be implemented: as if the underlying
view object grows in all directions.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 164205)
======================================================================
FULL PRODUCT VERSION :
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
FULL OPERATING SYSTEM VERSION :
glibc-2.2.5, linux-2.4.19,
ALT Linux Sisyphus (20020615)
A DESCRIPTION OF THE PROBLEM :
I'd like to see a JViewport.setViewRect() method - opposite
to getViewRect(), analoguos to set/getViewSize()
set/getViewPosition() pairs.
It shouldn't be merely equal to calling
setView{Size,Position} one after another: only one
stateChange event should be fired, so that the scrollbars
don't reflect two changes immediately one after another (and
flicker) as it happens when the two present methods are
called one after another.
Such behaviour is required when a slightly unusual
JScrollPane mode has to be implemented: as if the underlying
view object grows in all directions.
REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 164205)
======================================================================