Jawa / Говнокод #10283 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
if(rightTable.isCellPresent(0, 0))
					for(int i = 0; i < rightTable.getRowCount(); i++)
						if(((CheckBox)((HorizontalPanel)rightTable.getWidget(i, 0)).getWidget(0)).getValue())
						{	isChanged = true;
							
							leftTableList.add(currentTemplate.getColumns().get(i));
							for(int j = 0; j < resultTable.getCellCount(0); j++)
									if(((Label)((HorizontalPanel)resultTable.getWidget(0, j)).getWidget(1)).getText().compareTo(new Integer(currentTemplate.getColumns().get(i).getOrder()).toString()) == 0)
										resultTable.removeCell(0, j);
							
							System.out.println(resultTable.getCellCount(0));
							
							rightTable.removeRow(i);
							currentTemplate.getColumns().remove(i);
							i--;
						}

Запостил: sermolaev sermolaev, (Updated )

Комментарии (0) RSS

Добавить комментарий

Из-за тебя ушел bormand, guest!

    А не использовать ли нам bbcode?


    8