mypanel
.
setBorder
(
BorderFactory
.
createEtchedBorder
(
EtchedBorder
.
LOWERED
)
)
;