public static void spawnLoginButtons() {
		for (Button btn : login_btns) {
			btn.unlink();
			btn.destroy();
			btn = null;
		}
		login_btns.clear();
		for (Button btn : del_btns) {
			btn.unlink();
			btn.destroy();
			btn = null;
		}
		del_btns.clear();

		int i = 0;
		int j = 0;
		
		Collection<AccountInfo> accColl = APXUtils.accounts.values();
		List<AccountInfo> accList = new ArrayList<AccountInfo>(accColl);
		Collections.sort(accList, comparator);
		
		Iterator<APXUtils.AccountInfo> iterator = accList.iterator();
		while (iterator.hasNext()) {
			if(j == 20) j = 0;
			APXUtils.AccountInfo info = iterator.next();
			Button btn = new Button(Coord.z.add(0 + 140 * (i/20), j * 30), 100, instance,
					info.login) {
				@Override
				public void click() {
					APXUtils.AccountInfo info = (APXUtils.AccountInfo) Info;
					// fromWidget = true;
					instance.wdgmsg("forget");
					instance.wdgmsg(instance, "login", new Object[] {
							info.login, info.password, false });
				}
			};
			btn.Info = info;
			login_btns.add(btn);
			Button btn_del = new Button(Coord.z.add(105 + 140 * (i/20), j * 30), 15, instance,
					"X") {
				public void click() {
					APXUtils.AccountInfo info = (APXUtils.AccountInfo) Info;
					APXUtils._sa_delete_account(info.login);
					LoginScreen.spawnLoginButtons();
				}
			};
			btn_del.Info = info;
			del_btns.add(btn_del);
			i++;
			j++;
		}
	}