[3325] in java-interest

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

scrollbars

daemon@ATHENA.MIT.EDU (Dorothy E. Harris)
Tue Nov 7 20:29:43 1995

Date: Tue, 7 Nov 1995 15:34:17 -0600
From: "Dorothy E. Harris" <dharris@sispro.sis.rpslmc.edu>
To: java-interest@java.sun.com

I am working in the pre-Beta JDK.  I would like to add a scrollbar
to a slightly modified version of the SpreadSheet demo.  Does anyone
know how to do this?  I copied some come from the awt/test module,
ScrollbarTest.java.  This produces a scrollbar, but in the wrong
place, and it is ineffectual - moving the scroller does nothing for the
spreadsheet.  I tried adding an addNotify statement after creating the
scrollbar.  The scrollbar comes up as before, but then when I resize the
spreadsheet (using the mouse), I get a core dump.  None of my code
seems to be involved, and it appears that the applet code is trying
to notify a nonexistent object.


-
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