viewTabbedPane.add(_hexPanel.getName(), _hexPanel);
if (_data != null || _editable) { viewTabbedPane.add(_hexPanel.getName(), _hexPanel); }
    public void setContent(byte[] content) {        _modified = false;        viewTabbedPane.removeAll();        if (content == null) {            _data = new byte[0];        } else {            _data = new byte[content.length];            System.arraycopy(content, 0, _data, 0, content.length);        }        if (_contentType != null) {            Iterator it = _editors.iterator();            while (it.hasNext()) {                ByteArrayEditor editor = (ByteArrayEditor) it.next();                String[] types = editor.getContentTypes();                for (int i=0; i<types.length; i++) {                    if (_contentType.matches(types[i])) {                        viewTabbedPane.add(editor.getName(), (Component) editor);                        continue;                    }                }            }        }        viewTabbedPane.add(_hexPanel.getName(), _hexPanel);        _upToDate = new boolean[viewTabbedPane.getTabCount()];        invalidatePanels();        updatePanel(viewTabbedPane.getSelectedIndex());    }