layoutDisplayPanel();
canvas.display(panel.getUi());
}
private void layoutDisplayPanel() {
OneRowPanel row = new OneRowPanel();
row.setAnchor(OneRowPanel.SOUTHWEST);
row.setWeightX(1.0);
row.setInsets(0, 0, 0, 10);
row.add(getInputFieldLayout());
row.setWeightX(0.0);
row.setInsets(0, 0, 0, 0);
row.add(browseButton);
row.addToParent(panel.getUi(), BorderLayout.NORTH);
panel.setSendInputChangeEvents(true);
panel.setSendUndoEvents(true);
}