public void requestFocus() {
targetField.requestFocusInWindow();
}
private UiProvider layout() {
TwoColumnPanel cols = new TwoColumnPanel();
cols.setAnchor(TwoColumnPanel.WEST);
cols.setLeftInsets(0, 0, 10, 5);
cols.setRightInsets(0, 0, 10, 0);
cols.setRightFill(TwoColumnPanel.HORIZONTAL);
cols.addRow(new JLabel(TreeStrings.get("Search.Mappings.TargetField")), layoutTargetField());
cols.setRightWeights(1.0, 1.0);
cols.setRightFill(TwoColumnPanel.BOTH);
cols.setAnchor(TwoColumnPanel.NORTHWEST);
cols.addRow(new JLabel("Expression:"), new JScrollPane(expressionArea));
cols.setBorder(StyleSheet.getDefaultTitleBorder(TreeStrings.get("Search.Mappings.Found.Title")));
return cols;
}