Hi all,
I have a JTable retrieve, insert and delete from DB . and I have JList
display data of each column using table.getValueat(row, column)
the problem is I want to select values of column distinctly ( no
repeated data )without using SELECT statement
Is there is anyway to do this without coccnect to database ?
thanks in advance
voorth - 02 Oct 2007 09:12 GMT
> Hi all,
>
[quoted text clipped - 5 lines]
>
> thanks in advance
Read the column and add the values to a java.util.Set
This will give you all distinct values.
--Henk