classes.add(WindowsServicePanel.class);
}
int classIndex = 0;
for (int i=0; i<labels.length; i++)
{
Category category = new Category();
category.setName(labels[i][0]);
for (int j=1; j<labels[i].length; j++)
{
Action action = new Action();
action.setName(labels[i][j]);
action.setAssociatedPanel(classes.get(classIndex));
classIndex ++;
category.getActions().add(action);
}
categories.add(category);
}
return categories;