thanks a lot i'v gotten all the bugs out. Now my only problem is i dont know how to use jtable to views entrys in the database then the table should appear within the frame
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
here's the JTable tutorial, which should help with the GUI part
you need to understand that Swing is single-threaded and everything (painting, listeners etc) is done on that thread (EDT).
if you try to retrieve database data on that thread, the gui will freeze until data-retrieval is completed, so you must do the
db stuff in a separate thread, or SwingWorker.