I'm working on Java 7 for a desktop application using mostly swing.
I would like to Superpose two JPanels. Basically, I have a JPanel (1) in which I would like to draw some stuff (with paintComponent()) and on top of it, I'd like to display another JPanel (2) filled with a JScrollPane (3) filled with a Jtable (4).
The Components (2, 3 & 4) would have a transparent background to let see the painted Component on the JPanel 1.
Any idea how to organize/do/implement this ?
Thank you !