Use BorderFactory to create an empty border. ( See docs.oracle.com/javase/8/docs/a … ctory.html)
The example right-aligns header text and adds a 30px padding on the right. Use the code in the configureHeaderStyle extension function
[code]from javax.swing import SwingConstants
from javax.swing import BorderFactory
return { ‘border’: BorderFactory.createEmptyBorder(0, 0, 0, 30),
‘horizontalAlignment’: SwingConstants.RIGHT }[/code]