this.columnLegend = columnLegend;
int totalColumns = allColumnIDs.length(); System.out.println("All columns: " + totalColumns);   if (VersionCheck.isGtk()) { bogusColumn = allColumnIDs.charAt( allColumnIDs.length() - 1);   allColumnIDs = allColumnIDs.substring(0, allColumnIDs.length() - 1);   totalColumns -= 1; }  System.out.println("allColumnIDs: " + allColumnIDs + ", bogus cut: " + bogusColumn);   this.columnLegend = new String[totalColumns]; for (int i = 0; i < totalColumns; i++) { System.out.println("Copying: " + columnLegend[i]); this.columnLegend[i] = columnLegend[i]; }
    public ColumnSelector(Shell parentShell, String[] columnLegend, String allColumnIDs,        String prefOption) {        super(parentShell);        this.columnLegend = columnLegend;        this.allColumnIDs = allColumnIDs;        this.prefOption = prefOption + "TableColumns";        String aString = PreferenceLoader.loadString(this.prefOption);        rightColumnIDs = ((!aString.equals("")) ? aString : allColumnIDs);        leftColumnIDs = "";        for (int i = 0; i < allColumnIDs.length(); i++) {            if (rightColumnIDs.indexOf(allColumnIDs.charAt(i)) == -1) {                leftColumnIDs += allColumnIDs.charAt(i);            }        }    }