[jsword-devel] online module editor

Joe Walker jsword-devel@crosswire.org
Mon, 28 Oct 2002 23:20:58 +0000


Hi,

I think that none of JEditorPane, JTextPane or JTextField support d&d 
well enough. Anyone know better?

I'm not sure quite what the "arXA>" is about - but would I be correct in 
assuming that you want to allow people to mark-up Biblical text with 
things like strongs numbers? If so then you could have it more like a 
word processor where there is a Strongs button in place of a Bold 
button. IIRC the Swing Trail in the Java Tutorial has a styled text 
editor somewhere.

Joe.

Troy A. Griffitts wrote:

> On that same note,  does anyone know if it's easy to 'drag' images 
> around in a text display widget?
>
> Here's my idea...  Say there was text something like:
>
> In the beginning was the Word, and the Word was with God, and the Word 
> was God.[strongs: en><][strongs: arXA><]
>
> and stuff like [strongs: en> and <] were images.  I would like the 
> editor to be able to drag the images to the appropriate place in the 
> text, e.g.
>
> [strongs: en>In<] [strongs: arXA>the beginning<] was the Word, and the 
> Word was with God, and the Word was God.
>
> Any ideas from those more Java savvy than myself?
>
>     -Troy.