[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[platform-swt-dev] scroll event for synchronization of 2 scrolls
|
- From: "Phillip Ryan C. Ganir" <philliprs_yahu@xxxxxxxxx>
- Date: Thu, 18 May 2006 15:11:36 +0100 (BST)
- Delivered-to: platform-swt-dev@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hOY0c8wo2t9t/mlyN5ytOSYKzL4O+0NO6Hr6lUPuogI8VtN18gGLIHL/U4xHiWMeE+T+HeWjERROjW4ZktLvatQRLT0uI3GD1NvcpZommNewVo5LzemhFufrg30IWqAzcYyo1yOid1EqOrlyO7oKv6rFJVmqeaM4YlCB2GZbzok= ;
Hi Everyone,
Just want to ask for assistance in the following
matter:
I have a scroll event listener of one composite
(not a browser). Inside this, I want to access the
scroll of a browser on another composite and make them
synchronize. That is, if I move the scroll of the 1st
composite, the scroll in the 2nd one moves as well.
What I'm doing is:
Event listener of scroll of 1st composite{
(get scroll of the 2nd composite)
.setSelection(selection of the 1st
composite's scroll)
}
But, I'm getting a null pointer exception. I've
noticed that the scroll here should be declared as
final. Does this have something to do with the
exception?
Am I on the right track? Do you have any other
ideas on how I can do such a synchronization?
Thank you very much for future responses.
Phillip
Send instant messages to your online friends http://uk.messenger.yahoo.com