File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes ? JTable getColumnName Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "? JTable getColumnName" Watch "? JTable getColumnName" New topic

? JTable getColumnName

Geoff Jefferson
Ranch Hand

Joined: Apr 09, 2009
Posts: 102
I can't figure out why the column names are not showing up on my table.
Here is the code.

Rob Spoor

Joined: Oct 27, 2005
Posts: 19544

Geoff, code end tags start with a /, not a \. So it's [/code], not [\code]. I've fixed it for you.

Moving to the Swing forum.

How To Ask Questions How To Answer Questions
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
showed up OK for me
Geoff Jefferson
Ranch Hand

Joined: Apr 09, 2009
Posts: 102
Thank, I found an error in the controller.
I agree. Here's the link:
subject: ? JTable getColumnName
Similar Threads
? File I/O (and-or) for each loop
Refreshing a window
Concerning Custom Table Model
unable to get row index in JTable
I don't understand why my JTable will not display data