Creates a matte-look border using a solid color. (The difference between this border and a line border is that you can specify the individual border dimensions.)
top | an integer specifying the width of the top, in pixels | |
left | an integer specifying the width of the left side, in pixels | |
bottom | an integer specifying the width of the right side, in pixels | |
right | an integer specifying the width of the bottom, in pixels | |
color | a Color to use for the border |
MatteBorder object
Diagram: BorderFactory