-
display an image in JTree background *solved*
How could I display an image that stays centered in the background of a JTree, with the tree's nodes (text) being displayed over top of it?
problem sorted out
Last edited by Phaelax; 12-26-2005 at 05:42 AM.
-
I've tried overriding the paint() method of the component which contains the JTree, and even with setting the JTree's renderer object's setOpaque(false) I have no luck. Sometime's the image shows with no tree, but when i click a tree node, it'll even cover everything or parts of the image. Is there a way to do this without having to completely customize how the tree is drawn?
Similar Threads
-
By bmistree in forum Java
Replies: 1
Last Post: 07-13-2005, 10:12 AM
-
Replies: 3
Last Post: 08-30-2001, 11:45 AM
-
Replies: 1
Last Post: 04-25-2001, 10:57 AM
-
Replies: 0
Last Post: 04-24-2001, 11:47 AM
-
Replies: 1
Last Post: 11-14-2000, 09:52 AM
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