Java examples for Swing:Border
Creating a Compound Border
// border1 is around border2 Border newBorder = BorderFactory.createCompoundBorder(border1, border2); component.setBorder(newBorder);