[jsword-devel] Hebrew/Greek defs as tooltips

Tonny Kohar tonny.kohar at gmail.com
Sun Jan 10 22:34:45 MST 2010


I am not expert either. but I do create the tooltip for Alkitab which
is using JSword as base.
- I just simply add hyperlink entered and excited for Tooltip displaying
- and from the HyperlinkEvent object, I get the description of the link
- and use the description above to construct the JSword Key object to
find the particular text (strongs,morph,etc)
- then use the usual xslt tranform to transform it into html text
- and finally display it as tooltip popup.

If you want to see the code, you can get Alkitab source code from
http://www.kiyut.com/products/alkitab/index.html under developer
section (public domain).

Tonny Kohar
Alkitab Bible Study

On Mon, Jan 11, 2010 at 10:08 AM, Yingjie Lan <lanyjie at yahoo.com> wrote:
> Hi, I would like to get this done but not very much sure of the following things:
> 1. which object to listen to for URI events of hebrew/greek defs and morphs?
> 2. whose tool tip should be best used for this purpose?
> 3. how to get the definition and morph information? is it possible to get it as html text?
> Thanks!
> Yingjie
> --- On Sat, 1/9/10, Yingjie Lan <lanyjie at yahoo.com> wrote:
>> From: Yingjie Lan <lanyjie at yahoo.com>
>> Subject: [jsword-devel] Hebrew/Greek defs as tooltips
>> To: "J-Sword Developers Mailing List" <jsword-devel at crosswire.org>
>> Date: Saturday, January 9, 2010, 2:34 PM
>> Hi, I am trying to get that feature
>> integrated into BD and here is my initial attempt. Please
>> see attached java files to see how it could be done easily.
>> The Main.java is a demo of the tooltip in swing, and the
>> hyperlinkTip.java is my attempted design/implementation
>> (sure, it will need a little code to wire it up into BD). I
>> am not very familiar with the source code of BD, so any
>> comments and suggestions are very appreciated.
>> Yingjie
>> -----Inline Attachment Follows-----
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/jsword-devel
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel

More information about the jsword-devel mailing list