public boolean clearSelection() { int i = 0; if (!this.m_SelectedComps.isEmpty()) { i = 1; Iterator localIterator = this.m_SelectedComps.iter
You can't type cast between integer and boolean in Java but you could use the following technique which I use oftenly:
To convert boolean into integer:
int i; return i != 0;
To convert integer into boolean:
boolean b; return b ? 1 : 0;