Re: How to display query result in a grid
- From: "Dimitri Kurashvili" <dimakura@xxxxxxxxx>
- Date: 28 Feb 2007 06:25:42 -0800
On Feb 28, 6:52 am, "Mariano" <mariano.calan...@xxxxxxxxx> wrote:
I've a data source, i've to make a query on this data source, how can
I show all result in a grid (JTable)? I'm using Netbeans 5.5. If
someone of u can suggest me a good guide on the topic.... a lot of
thanks
It is not so straitforward. You can not simply put ResultSet on
JTable. The best way is to use TableModel interface (you should
implement it using data obtained from database).
Where to read about this?
Try this:
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
.
- References:
- [NETBEANS] How to display query result in a grid
- From: Mariano
- [NETBEANS] How to display query result in a grid
- Prev by Date: Re: Can Interfaces be mimicked with classes
- Next by Date: query problem with Access database
- Previous by thread: [NETBEANS] How to display query result in a grid
- Next by thread: Hibernate set to map
- Index(es):
Relevant Pages
|