> 1. I need JTable to display data from database
> table.
> Is it apropriate component or should I use more
> suitable class?
>
Probably appropriate.
> 2. How to add rows to table from code. I.e. I have
> Vector<> and need add as many rows in table as
> vector.size() is.
Read the following especially the part about table models
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html