Eliminating Border in JPanel

Hi

I have application which adds many JPanel over each other ..is their any way we can avoide the layered look..meaning at the bottom of the frame..it shows many layers (borders) of each panel.

Thanks,
Dinesh
joshidinAsked:
Who is Participating?
 
objectsConnect With a Mentor Commented:
component.setBorder(null);
0
 
objectsCommented:
what border exactly are you referring to?
0
 
joshidinAuthor Commented:
Say..if iadd a JScrollPane...it shows a border like thick bevel border....i would like to eliminate it.
0
All Courses

From novice to tech pro — start learning today.