1. | BorderFactory.createLineBorder: create line border | | |
2. | BorderFactory.createEtchedBorder: create Etched Border | | |
3. | BorderFactory.createEtchedBorder: LOWERED EtchedBorder | | |
4. | BorderFactory.createRaisedBevelBorder | | |
5. | BorderFactory.createLoweredBevelBorder | | |
6. | BorderFactory.createEmptyBorder(10, 10, 10, 10) | | |
7. | BorderFactory.createTitledBorder("Title Border") | | |
8. | BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED), "Title Lowered Etched Border") | | |
9. | BorderFactory.createMatteBorder(2, 5, 2, 5, Color.BLUE) | | |
|
10. | BorderFactory.createTitledBorder(BorderFactory.createLineBorder(Color.BLUE), "Title Line Border with color") | | |
11. | BorderFactory.createCompoundBorder(BorderFactory.createRaisedBevelBorder(), BorderFactory.createLoweredBevelBorder()) | | |
12. | BorderFactory.createCompoundBorder(BorderFactory.createLineBorder(Color.red), BorderFactory.createMatteBorder(-1, -1, -1, -1, icon)) | | |
13. | BorderFactory.createEmptyBorder | | |
14. | Creating and Setting an Empty Border from BorderFactory | | |
15. | Creating and Setting a line Border from BorderFactory | | |
16. | Creating and Setting an EtchedBorder from BorderFactory | | |
17. | Creating and Setting a Raised BevelBorder from BorderFactory | | |
18. | Creating and Setting a Lowered BevelBorder from BorderFactory | | |
19. | Creating and Setting a MatteBorder from BorderFactory | | |
20. | Creating a Compound Border | | |
21. | Test different borders | | |