This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
if you want a solution, post a 'runnable' sample program to demonstrate what you are doing, just a frame with splitpane, tree with a couple of nodes, and the code that changes the image in the right panel
don't put any db stuff in the sample program (use a couple of hard-coded image files)