First) I agree in principal with getting my changes for supporting different images into the DefaultJTreeRenderer, but how do you propose doing that? In my custom JTree renderer, I've got changes to renderItemHTML_IE(), renderNodeLink(), appendImage(), getImageForNode(), and a bunch of additional static ints and static Strings for my 20 images. I actually have two custom JTree renderers because I have two different trees. And I've got corresponding changes to WebCream_tree.js.
Second) Okay, but I haven't used Subversion before.
Third) As far as I know, Swing doesn't have a standard method for supporting menus at the node level. But I don't think a getContextMenu(TreeNode node) method will work for me. I support multiple node selections, and the menu for a node can change depending if and what other nodes are also selected. This is one of the reasons why I don't create the menu for a node until the node is selected. I also can have a large number of nodes, so I don't like the idea of adding more overhead with a menu for every node. I really think the best way is to define an interface that returns the menu for the selected node(s) (I guess you could use set/getComponentPopupMenu(), but I need to support JDK1.4) and generate only that menu. If an unselected node is right-clicked, I think you should submit the selection (it has to be submitted anyway) and generate (and display) a new menu.