Populating JTable with MySQL Data after clicking JButton
- From: "pramodsa" <pramodsa@xxxxxxxxx>
- Date: 13 Apr 2007 09:23:57 -0700
Hi All,
Im very new to Java.
Im developing a project in NetBeans 5.5. The Database im using is
MySQL.
I need to add and retrieve data from MySQL Tables and im relatively
successful in that.
I found one tutorials on the web and have followed the procedures to
retrieve data from MySQL Tables.
http://www.netbeans.org/kb/articles/mysql-client.html
In the above mentioned link, there is a topic named - 'Customizing
JTable'
The above tutorial shows and expains how to retrieve data and place it
in JTable.
I need to do the same thing, except after clicking on JButton.
For Eg:
Pressing on 'Show data' button should retrieve the data from
the database.
Thanks in advance,
Pramod
.
- Prev by Date: How do I set table header height... without side effects?
- Next by Date: Re: How do I set table header height... without side effects?
- Previous by thread: How do I set table header height... without side effects?
- Next by thread: how do i put an image as a background on a JFrame?
- Index(es):