mainTabPane.add(edu.umd.cs.findbugs.gui.L10N.getLocalString("pref.suppressions_tab", "Suppressions"), createSuppressionPane());
mainTabPane.add(edu.umd.cs.findbugs.L10N.getLocalString("pref.suppressions_tab", "Suppressions"), createSuppressionPane());
	private PreferencesFrame(){		setTitle(edu.umd.cs.findbugs.gui.L10N.getLocalString("dlg.fil_sup_ttl", "Filters/Suppressions"));		setModal(true);				JTabbedPane mainTabPane = new JTabbedPane();				mainTabPane.add(edu.umd.cs.findbugs.gui.L10N.getLocalString("pref.filters", "Filters"), createFilterPane());				mainTabPane.add(edu.umd.cs.findbugs.gui.L10N.getLocalString("pref.suppressions_tab", "Suppressions"), createSuppressionPane());		MainFrame.getInstance().updateStatusBar();		getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));				JPanel top = new JPanel();		top.setLayout(new BoxLayout(top, BoxLayout.X_AXIS));		top.add(Box.createHorizontalStrut(5));		top.add(mainTabPane);		top.add(Box.createHorizontalStrut(5));				JPanel bottom = new JPanel();		bottom.setLayout(new BoxLayout(bottom, BoxLayout.X_AXIS));		bottom.add(Box.createHorizontalGlue());		bottom.add(new JButton(new AbstractAction(edu.umd.cs.findbugs.gui.L10N.getLocalString("pref.close", "Close"))		{			public void actionPerformed(ActionEvent evt)			{//				MainFrame.getInstance().getSorter().thawOrder();				PreferencesFrame.this.setVisible(false);				TreeModel bt= (MainFrame.getInstance().getTree().getModel());				if (bt instanceof BugTreeModel)							((BugTreeModel)bt).checkSorter();			}		}));		bottom.add(Box.createHorizontalStrut(5));				add(Box.createVerticalStrut(5));		add(top);		add(Box.createVerticalStrut(5));		add(bottom);		add(Box.createVerticalStrut(5));				setDefaultCloseOperation(HIDE_ON_CLOSE);				pack();	}