Hello,
I wrote an application that uses scrollbars (using the ScrollPane
class), but often when the image inside the scrollpane changes in size, I get
this message:
Warning:
Name: HorScrollBar
Class: XmScrollBar
The specified scrollbar value is greater than the maximum
scrollbar value minus the scrollbar slider size.
Almost the same message for the vertical scrollbar.
When this happens the scrollbars are messed and I cannot completely scroll the
image.
Now I could think it's my fault, here is how I declared the ScrollPane. Please
notice that usign scrollbars as needed make things even worse, I hoped that
using them always could make my life easier.
--- begin ---
class MapScrollPane extends ScrollPane
....
MapScrollPane()
{
// super(ScrollPane.SCROLLBARS_AS_NEEDED);
super(ScrollPane.SCROLLBARS_ALWAYS);
....
--- end ---
But even if it is my fault somewhere, this happens everytime I use a Java
application with scrollbars. Often I get this error with the InstallShield
during the installation! Last one was during the installation of NetBeans!
I begin to think it's a problem inside the JVM (1.1.x and 1.2 give the same
error). I tried on windows, with the linux compiled code, same here there too...
Now I wonder: it's me or everybody else has the same problem?
---
Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at
University of Pisa - Italy - E-mail: [EMAIL PROTECTED]
My home page: http://www.cli.di.unipi.it/~controzz/intro.html
Founder and Admiral of Hoshi no Senshi (italian Leiji Matsumoto's fan group).
Creator of It.Arti.Cartoni (italian anime newsgroup) and proud member of...
+-------------------------------------------------------------+
| . * . |
| . __ . . |
| oq | po _ _ |
| / #==>>>==# ,-' (_)\ |
| | ,-|~\\ ///_ ,() ,_____} |
| | |/|~]]] /// ,-~' .,~ / \| . |
| |\_|_|_\_\~~----~~' \ ( /| . |
| . /~ \___/ [m] \ \__// |
| _bo..__ // `-,.~~ |
| _-~ 0000000000000ooooo.__ ( . |
| \ 000000000000000000000000o . |
| . (_)0000000000000000000000 |
| . \~~~*,,,* ~000000000000000000 |
| ~0000000000000 . |
| ~~~---~~ |
| .* |
+-------------------------------------------------------------+
| An e-mail network of Space Cruiser Yamato and |
| StarBlazers Fans |
+-------------------------------------------------------------+
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]