Please check this:

http://stackoverflow.com/questions/2545214/how-to-set-a-transparent-background-of-jpanel