checkBoxSortList.add(new JCheckBox(edu.umd.cs.findbugs.gui.L10N.getLocalString("sort.divider", "[divider]")));
checkBoxSortList.add(new JCheckBox(edu.umd.cs.findbugs.L10N.getLocalString("sort.divider", "[divider]")));
	private JPanel createSorterPane() {		JPanel sorter = new JPanel();		JPanel insidePanel = new JPanel();				insidePanel.setLayout(new BorderLayout());		sorter.setLayout(new BorderLayout());		preview=new JTableHeader();		preview.setColumnModel(new SorterTableColumnModel(Sortables.values()));				Sortables[] sortList = Sortables.values();				for(Sortables s : Sortables.values()){			if (s == Sortables.DIVIDER)				checkBoxSortList.add(new JCheckBox(edu.umd.cs.findbugs.gui.L10N.getLocalString("sort.divider", "[divider]")));			else				checkBoxSortList.add(new JCheckBox(s.toString()));		}				setSorterCheckBoxes();				for(int i = 0; i < sortList.length; i++){			checkBoxSortList.get(i).addChangeListener(new CheckBoxChangedListener(i));		}						chBList = new CheckBoxList(checkBoxSortList.toArray(				new JCheckBox[checkBoxSortList.size()]));						insidePanel.add(chBList, BorderLayout.NORTH);				//insidePanel.add(sorterInfoLabel(), BorderLayout.CENTER);						JPanel bottomPanel=new JPanel();		bottomPanel.setLayout(new BorderLayout());		//bottomPanel.add(previewLabel,BorderLayout.NORTH);		bottomPanel.add(preview, BorderLayout.CENTER);		insidePanel.add(bottomPanel,BorderLayout.SOUTH);						sortApply=new JButton(edu.umd.cs.findbugs.gui.L10N.getLocalString("dlg.apply_btn", "Apply"));		sortApply.addActionListener(new ActionListener(){			public void actionPerformed(ActionEvent e)			{				MainFrame.getInstance().getSorter().createFrom((SorterTableColumnModel)preview.getColumnModel());				((BugTreeModel)MainFrame.getInstance().getTree().getModel()).checkSorter();				instance.setVisible(false); //close window			}		});		bottomPanel.add(sortApply,BorderLayout.SOUTH);		sorter.add(new JScrollPane(insidePanel), BorderLayout.CENTER);				return sorter;	}