public void calcTotalWeeklyFee(List<Person> creche) { SubFrame frame = new SubFrame( new String[] {"Recalculate", "Cancel"}, new CalcTotalFee(persons), "Calculate Weekly Income for All Children", iconImage); frame.addRequestNewListListener( new RequestNewListListener() { @Override public void RequestNewList(RequestNewListEvent arg0) { SubFrame sf = (SubFrame) arg0.getSource(); sf.setPersonList(persons); } }); frame.setBounds(100, 100, 300, 105); frame.setVisible(true); }