trailing spaces removed

cusax-fix
Yana Stamcheva 19 years ago
parent 6f45db56ad
commit 1adf70b70a

@ -64,7 +64,7 @@ public AddContactWizard(MainFrame mainFrame)
this.registerWizardPage(AddContactWizardPage3.IDENTIFIER, page3);
this.setCurrentPage(AddContactWizardPage1.IDENTIFIER);
this.setCurrentPage(AddContactWizardPage1.IDENTIFIER);
}
/**
@ -156,7 +156,7 @@ public void wizardFinished(WizardEvent e)
ProtocolProviderService pps
= (ProtocolProviderService)ppList.get(i);
new CreateContact(pps, newContact).start();
new CreateContact(pps, newContact).start();
}
}
}

@ -44,7 +44,7 @@ public AddContactWizardPage1(WizardContainer wizard,
selectAccountPanel = new SelectAccountPanel(
newContact, protocolProvidersList);
selectAccountPanel.addCheckBoxCellListener(this);
selectAccountPanel.addCheckBoxCellListener(this);
}
/**

@ -72,30 +72,30 @@ public SelectAccountPanel(NewContact newContact,
Iterator protocolProvidersList)
{
super(new BorderLayout());
this.setPreferredSize(new Dimension(500, 200));
this.newContact = newContact;
this.iconLabel.setBorder(BorderFactory.createEmptyBorder(5, 0, 5, 10));
this.infoLabel.setEditable(false);
this.infoTitleLabel.setFont(Constants.FONT.deriveFont(Font.BOLD, 18));
this.labelsPanel.add(infoTitleLabel);
this.labelsPanel.add(infoLabel);
this.rightPanel.add(labelsPanel, BorderLayout.NORTH);
this.rightPanel.add(tablePane, BorderLayout.CENTER);
this.add(iconLabel, BorderLayout.WEST);
this.add(rightPanel, BorderLayout.CENTER);
this.tableInit(protocolProvidersList);
GuiActivator.bundleContext.addServiceListener(this);
}
}
/**
* Initializes the accounts table.
@ -112,14 +112,14 @@ private void tableInit(Iterator protocolProvidersList)
{
ProtocolProviderService pps
= (ProtocolProviderService)protocolProvidersList.next();
OperationSet opSet = pps.getOperationSet(OperationSetPresence.class);
if(opSet == null)
continue;
String pName = pps.getProtocolName();
Image protocolImage = null;
try
{
@ -139,10 +139,10 @@ private void tableInit(Iterator protocolProvidersList)
tableModel.addRow(new Object[]{new Boolean(false),
pps, protocolLabel});
}
accountsTable.setRowHeight(22);
accountsTable.setModel(tableModel);
accountsTable.getColumnModel().getColumn(0).sizeWidthToFit();
accountsTable.getColumnModel().getColumn(2)
.setCellRenderer(new LabelTableCellRenderer());
@ -219,11 +219,11 @@ public void serviceChanged(ServiceEvent event)
ProtocolProviderService sourcePProvider
= (ProtocolProviderService) sourceService;
if (event.getType() == ServiceEvent.REGISTERED)
{
String pName = sourcePProvider.getProtocolName();
Image protocolImage = null;
try
{

Loading…
Cancel
Save