public int getSize() { return list.getItemCount(); } public Object getElementAt(int idx) { return list.getItem(idx); } };
public Object getElementAt(int idx) { return list.getItem(idx); }  public int getSize() { return list.getItemCount(); } };
	public SwingListPeer(final List list) {		super();		SwingToolkit.add(list, this);		SwingToolkit.copyAwtProperties(list, this);		final ListModel model = new AbstractListModel() {			public int getSize() { return list.getItemCount(); }			public Object getElementAt(int idx) { return list.getItem(idx); }		};			}