I want to be able to move my tabs in my jTabbedPane left or right to change the sorting order. I looked around but I noticed most of what I found is asking how to drag and drop a tab in. I just want to make it resortable so that I can move the rightmost tab to the left of the leftmost tab or any order I want.
I know for table columns in a JTable, there is a method, something along the lines of
JTable table = new JTable();
table.setReordering(false); //disables reordering of columns
which prevents this so this functionality is already enabled with columns in tables but with tabs in JTabbedPanes, I cannot find any method similar to this but I'm thinking it would be something similar like
tab.setReordering(true)
as well but I don't see anything.