Article View: borland.public.jbuilder.java.swing
Article #10379Drag and Drop Swing-based Text Editor
From: Jim Stoll
Date: Tue, 12 Oct 1999 00:00
Date: Tue, 12 Oct 1999 00:00
12 lines
1077 bytes
1077 bytes
I'd like to implement drag-and-drop text editing capability within a JTextPane or JEditorPane. An initial stab has raised some problems related to selection actions and drag actions stepping on each others' toes. (Either a drag selection is interpreted as a drag or else an attempted drag resets a text selection.) Before I waste alot of time working this through, has anyone done this yet and have some sample code that can make it happen? (I can't seem to find any samples of this anywhere!) Thanks for any help/suggestions. Jim Stoll jestoll@crtinc.com
Technical Details
Message-ID:
<7u0209$iik4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,8eda5e13298dcaea,start X-Google-Attributes: gid111d45,public From: "Jim Stoll" <jestoll@crtinc.com> Subject: Drag and Drop Swing-based Text Editor Date: 1999/10/12 Message-ID: <7u0209$iik4@forums.borland.com> X-Deja-AN: 535929195 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing