Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Dispatch
Dispatch [message #455351] Thu, 12 May 2005 22:36
michael is currently offline michaelFriend
Messages: 44
Registered: July 2009
Member
I am trying to run this in java, here is a javascript example

var coll = document.all.tags("P");
if (coll.length >= 5)
{
coll(4).style.textDecoration = "underline";
coll(4).scrollIntoView(true);
}


In java, I wrote my own method to get the doucment and all object. I would
do this to get all the tags. I get the Dispatch back and don't know how to
run it like an array. Anyone can give me tips?

Dispatch dispatch = getDocument().all().tags(tag);
Previous Topic:detecting selection changes in Text
Next Topic:Native double buffering
Goto Forum:
  


Current Time: Fri Apr 26 08:57:51 GMT 2024

Powered by FUDForum. Page generated in 0.02997 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top