-
Editing A JTree Node Through External Editor
Hi Guys,
Hope you all are doing well..
Well right now i am facing a problem in JTree. I want whenever the user is traversing my JTree and presses enter it opens a a dialog box which contains a JTextArea. The moment a user presses the enter the dialog box will become invisible and the value written in the JTextarea will be assigned to the node.
I am half way already but i am unable to assign the value of JTextarea to the node.
Plz help me out how to asign a value to a node...........
Thanks
Cheers
Akshat
-
JTree has functionality for allowing nodes to be edited inline which means that you wouldn't have to have the JTextArea at all. This might be a better idea than popping up a JTextArea, and probably easier too.
Hope this helps.
~evlich
Similar Threads
-
By xsouldeath in forum Java
Replies: 1
Last Post: 11-27-2005, 11:19 PM
-
By Srinu Tulluri in forum VB Classic
Replies: 4
Last Post: 01-11-2002, 04:18 AM
-
By Srinu Tulluri in forum VB Classic
Replies: 0
Last Post: 01-10-2002, 02:15 PM
-
Replies: 0
Last Post: 07-20-2001, 08:42 AM
-
Replies: 1
Last Post: 01-15-2001, 10:24 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks