Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1446

Populating JTable with My

From "pramodsa" <pramodsa@THRWHITE.remove-dii-this>
Subject Populating JTable with My
Message-ID <1176481437.447318.217280@l77g2000hsb.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:33 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
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

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread


Thread

Populating JTable with My "pramodsa" <pramodsa@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000

csiph-web