private void populateRows() {
    UserAccountBean a = new UserAccountBean();
    UserAccountBean b = new UserAccountBean();
    UserAccountBean c = new UserAccountBean();

    // order the beans a,b,c by username
    a.setName("abc");
    b.setName("def");
    c.setName("ghi");

    // order the beans b,c,a by first name
    a.setFirstName("Zack");
    b.setFirstName("Bob abc");
    c.setFirstName("Cindy");

    // order the beans c,b,a by last name
    a.setLastName("Xerxes");
    b.setLastName("Zuckerman");
    c.setLastName("Connor");

    UserAccountRow rowA = new UserAccountRow();
    rowA.setBean(a);
    UserAccountRow rowB = new UserAccountRow();
    rowB.setBean(b);
    UserAccountRow rowC = new UserAccountRow();
    rowC.setBean(c);
    UserAccountRow[] rows = {rowA, rowB, rowC};

    ArrayList tempRows = new ArrayList(Arrays.asList(rows));

    // add 15 dummy rows so we can test out pagination
    for (int i = 0; i < 15; i++) {
      UserAccountBean uab = new UserAccountBean();
      // force these beans into the middle of the alphabet so they don't
      // ruin the sorting results
      uab.setName("efg");
      uab.setFirstName("jjj");
      uab.setLastName("jjj");
      UserAccountRow uar = new UserAccountRow();
      uar.setBean(uab);
      tempRows.add(uar);
    }

    table.setRows(tempRows);
  }