JXDialog layout can't be overridden
The setContent() and build() methods of the JXDialog are private which means that the border that is placed around the content pane is changeable. By making these methods protected or by putting at setting setBorder() on the JXDialog will allow me to change the border around the content.
Let me know which option you prefer and I can do the change.
Mark P Ashworth