On intellij I have created a JXTable on a JPanel.
I have added two columns and set their width.
I want the panel too be much longer then the jxtable and so i set its size to be very large.
The problem is that the columns are are added to the left side.
Is there a way to make them added to the right side of the table area?
I have tried
jxtable.setAlignment(JComponent.RIGHT_ALIGNMENT)
but with no success
Thank you.