if (_selected >= 0) { updatePanel(_selected); }
updatePanel(viewTabbedPane.getSelectedIndex());
            public void stateChanged(ChangeEvent e) {                updateData(_selected);                if (_selected >= 0) {                    updatePanel(_selected);                }            }