JRadioButton application = new JRadioButton(mLocalizer.msg("Application", "Application"));
pb.add(application, cc.xy(2,3));
mPathTextField.setText(mData.getProgramPath());
mPathTextField.addFocusListener(new FocusAdapter() {
public void focusLost(FocusEvent e) {
mData.setProgramPath(mPathTextField.getText());
}
});
pb.add(mPathTextField, cc.xy(4,3));
mFileButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
pathButtonPressed(e);
}
});
pb.add(mFileButton, cc.xy(6,3));
JRadioButton url = new JRadioButton(mLocalizer.msg("URL", "URL"));
pb.add(url, cc.xy(2,5));
mUrl.setText(mData.getWebUrl());
mUrl.addFocusListener(new FocusAdapter() {
public void focusLost(FocusEvent e) {
mData.setWebUrl(mUrl.getText());
}
});