if (JFileChooser.APPROVE_OPTION == chooser.showOpenDialog(frame)) {
final File file = chooser.getSelectedFile();
try {
hexView.setData(new SimpleDataProvider(readFile(file)));
hexView.setDefinitionStatus(DefinitionStatus.DEFINED);
hexView.setEnabled(true);
} catch (final IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();