[5399] in java-interest

home help back first fref pref prev next nref lref last post

Scrollbars on various platforms.

daemon@ATHENA.MIT.EDU (Terence Chr Haddock)
Wed Feb 7 18:05:45 1996

Date: Wed, 7 Feb 1996 16:28:41 -0500 (EST)
From: Terence Chr Haddock <haddock@UDel.Edu>
To: java-interest@java.sun.com


	There appears to be an inconsistancy with the Scrollbars on the 
Windows NT/95 platform and those on SunOS (and perhaps other Unix'es). 
The problem has to do with the "visible" parameter in ScrollBar.setValues().
Let's say I start with a scrollbar created like so:

	ScrollBar sb=new ScrollBar(1,0,vis.height,0,bounds().height-vis.height);

	Where vis is some size Dimension that defines the size of the entire 
page, and is assumed to be greater than the current bounds. You would 
expect that this scrollbar would stay within 0 and 
(vis.height-bounds().height). This is exactly what happens on Windows 
95/NT. BUT, if you take this scrollbar and put it on a SunOS platform, 
and now the scrollbar goes from 0 to vis.height! Note, that I used 
Netscape 2.0b6 for both platforms. Is this a Java problem or a Netscape 
problem?

	- Terence C Haddock
	  haddock@udel.edu

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    From the E-mail Account of    |    U of D: haddock@udel.edu
                                  | EECIS/ACM: haddock@acm.cis.udel.edu
        Terence C Haddock         |  Del Tech: thaddock@dtelunix.dtcc.edu
       (haddock@udel.edu)         |       WWW: http://acm.cis.udel.edu/~haddock
//---------------------------------------------------------------------------\\
||                                                                           ||
||                               SPACE FOR RENT                              ||
||                                                                           ||
\\=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=//

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post