Creating a Compound Border - Java Swing

Java examples for Swing:Border

Description

Creating a Compound Border

// border1 is around border2
Border newBorder = BorderFactory.createCompoundBorder(border1, border2);
component.setBorder(newBorder);

Related Tutorials