Java Swing JTree update content
I've got the following problem:
I have a Jtree, which is in the left side of my JSplitPane. When I select an item in the tree, I get the option to edit it in the Right part of the SplitPane. Everything works fine so far. Once I editted the item, I pres the save button, which puts my updated item into the database (works fine) and updates the tree to represent the new item. This last part is where the problems begin. The text of the item is not updated. Once I select a different item in the tree the text of the changed Item changes, but I can't figure out how to change it while the text is selected.
Any help would be appreciated.
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