Write the lines of code that will define a compound border using three borders. Use a line border on the inner edge, an etched border on the outer edge, and a raised bevel border in between.
What will be an ideal response?
```
//create borders
Border line = BorderFactory.createLineBorder (Color.blue);
Border bevel = BorderFactory.createRaisedBevelBorder();
Border etched = BorderFactory.createEtchedBorder();
// create inner compound border
Border compound = BorderFactory.createCompoundBorder
(bevel, line);
// create final compound border
Border final = BorderFactory.createCompoundBorder
(etched, compound);
```
Computer Science & Information Technology