aspose file tools
The moose likes Swing / AWT / SWT and the fly likes showing my data in a jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "showing my data in a jtable" Watch "showing my data in a jtable" New topic

showing my data in a jtable

egbai mmumene
Ranch Hand

Joined: Sep 18, 2012
Posts: 45
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
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.
rocket mass heater kickstarter
subject: showing my data in a jtable