title: How can I restrict the location of the separator in JSplitPane?
body: <p>Is there a way to restrict the location of the separator of a <code>JSplitPane</code>?
  I want to prevent it from ending up near either end. Whether the user drags
  the separator, or it is reset due to window resize.</p>