both aren't userfriedly, if there needed something overlay, then look for paintComponent() JLayeredPane, because is not confortable paint() Graphics2D to GlassPane/RootPane
otherwise (if is possible) to look for CardLayout
mKorbel
Veteran Poster
1,141 posts since Feb 2011
Reputation Points: 480
Solved Threads: 224
JDesktop with JInternalFrame
mKorbel
Veteran Poster
1,141 posts since Feb 2011
Reputation Points: 480
Solved Threads: 224
Yes, a List of BufferedImages may be a useful way to go, especially if you wish to merge layers later or flatten to a single image.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
Nope, wouldn't matter. JPanel, JLabel, or even just an extension of JComponent.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
Thank efxee, I just agreed with his/her suggestion. :)
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847