Displaying a "floating" JLabel at the caret position
cyberiapc_at_gmail.com
Date: 01/30/05
- Next message: Andrey Kuznetsov: "Re: Displaying a "floating" JLabel at the caret position"
- Previous message: freesoft_2000_at_yahoo.com: "GoTo"
- Next in thread: Andrey Kuznetsov: "Re: Displaying a "floating" JLabel at the caret position"
- Reply: Andrey Kuznetsov: "Re: Displaying a "floating" JLabel at the caret position"
- Reply: Paul van Rossem: "Re: Displaying a "floating" JLabel at the caret position"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jan 2005 02:55:30 -0800
Hi everyone,
I've got a JTextArea that serves as a very basic XSLT editor. One of
its functions is to allow the user to input elements via accelarators
(e.g. Ctrl+Shift+t inserts a <xsl:template> element). Is it possible to
display a component, such as a JLabel, at the position of the caret in
the JTextArea? The intention is to populate it with information about
what letter inserts what element)
Because my JFrame's LayoutManager is set to BorderLayout, I don't see
how I'd be able to position the JLabel at specific x,y coordinates
relative to the caret.
Thanks for any pointers.
- Next message: Andrey Kuznetsov: "Re: Displaying a "floating" JLabel at the caret position"
- Previous message: freesoft_2000_at_yahoo.com: "GoTo"
- Next in thread: Andrey Kuznetsov: "Re: Displaying a "floating" JLabel at the caret position"
- Reply: Andrey Kuznetsov: "Re: Displaying a "floating" JLabel at the caret position"
- Reply: Paul van Rossem: "Re: Displaying a "floating" JLabel at the caret position"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|