Is it possible to have a java swing border only on the top side?
border, java, swing
Solution
From Sun tutorial:
The next picture shows some matte borders. When creating a matte border, you specify how many pixels it occupies at the top, left, bottom, and right of a component.
(Java docs)
Problem
I know how to create borders using `BorderFactory` but I don't see anything that lets me specify what sides I want the border on :S