parameterize,

HENGSIN PLEASE REVIEW. YOU ARE WELCOME.
This commit is contained in:
Redhuan D. Oon 2008-11-21 03:04:01 +00:00
parent 7053557be5
commit fdefb600dc
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ public class AboutWindow extends Window implements EventListener {
hbox.appendChild(btnErrorEmail); hbox.appendChild(btnErrorEmail);
vbox.appendChild(hbox); vbox.appendChild(hbox);
Vector columnNames = CLogErrorBuffer.get(true).getColumnNames(Env.getCtx()); Vector<String> columnNames = CLogErrorBuffer.get(true).getColumnNames(Env.getCtx());
logTable = new Listbox(); logTable = new Listbox();
ListHead listHead = new ListHead(); ListHead listHead = new ListHead();
@ -178,7 +178,7 @@ public class AboutWindow extends Window implements EventListener {
} }
private void updateLogTable() { private void updateLogTable() {
Vector data = CLogErrorBuffer.get(true).getLogData(bErrorsOnly.isChecked()); Vector<Vector> data = CLogErrorBuffer.get(true).getLogData(bErrorsOnly.isChecked());
SimpleListModel model = new SimpleListModel(data); SimpleListModel model = new SimpleListModel(data);
model.setMaxLength(new int[]{0, 0, 0, 200, 0, 200}); model.setMaxLength(new int[]{0, 0, 0, 200, 0, 200});
logTable.setItemRenderer(model); logTable.setItemRenderer(model);