Update RosterDialog.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5874 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-10-27 17:21:07 +00:00
committed by derek
parent 4e1daf9099
commit 86c8c70369
2 changed files with 6 additions and 4 deletions

View File

@ -88,10 +88,11 @@ public class RosterDialog implements PropertyChangeListener, ActionListener {
JButton newGroupButton = new JButton();
JLabel accountsLabel = new JLabel("Account:");
JLabel accountsLabel = new JLabel();
accounts = new JComboBox();
publicBox = new JCheckBox("User is on a public network");
publicBox = new JCheckBox(Res.getString("label.user.on.public.network"));
ResourceUtils.resLabel(accountsLabel, publicBox, Res.getString("label.accounts"));
pane = null;
dialog = null;
@ -230,7 +231,7 @@ public class RosterDialog implements PropertyChangeListener, ActionListener {
* @param parent the parent Frame.
*/
public void showRosterDialog(JFrame parent) {
TitlePanel titlePanel = new TitlePanel(Res.getString("title.add.contact"), Res.getString("message.add.contact.to.list"), SparkRes.getImageIcon(SparkRes.USER1_32x32), true);
TitlePanel titlePanel = new TitlePanel(Res.getString("title.add.contact"), Res.getString("message.add.contact.to.list"), null, true);
JPanel mainPanel = new JPanel() {