// TODO: update the hex panel instead of creating a new one
if (this.hexEditor != null) {
this.remove(this.hexEditor);
}
this.data = this.cf.getData();
ByteArrayDataProvider badp = new ByteArrayDataProvider(this.data) {
@Override
public void set(int index, byte value) {
// TODO: this should be made an undoable event
super.set(index, value);
HexEditorTab.this.modified = true;