wood burning stoves 2.0*
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
Author

? 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
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ? JTable getColumnName
 
Similar Threads
Concerning Custom Table Model
unable to get row index in JTable
? File I/O (and-or) for each loop
I don't understand why my JTable will not display data
Refreshing a window