There is security problem here. The COFFEEBREAK serving
MySQL server sits on a different machine than the WWW server.
See the Deploying Java and JDBC article from DataDirect.
Replace "tecfa" by "tecfa2" in the URL if needed !
.... or just click on the URLs below.
The source is listed above (or in the directory):
Simple "query-line" example (will not work for everything):
Simple "query-update-lines" example. Allows both queries and updates.
Simple "query-update-lines" example with Swing, same as above but much
prettier (needs swing 1.1 installed / or the Netscape/Java plugin).
Needs more work, but the general ideas ought to be more or less ok.
- Simple "query-update-lines" example with Swing, same as above
but with a misunderstanding of the potential Abstract Table Model. Well at
least it shows how to add or remove components in a Panel and how to
map a simple 2D array + labels onto a JTable ...