I am making this java applet graphics with nodes and edges. I want to implement the fade-in and fade out effect on retrieval of the new nodes when one node is clicked, but I don
You'll need to write an animation loop. Each time through the loop change the color of your edge and/or node. You can use either an alpha fade or a color fade to background. There are lots of tutorials on the web if you search for "java applet animation loop". One good article is here.