Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

public String[] getColumnName()

 
lucy hu
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, all,
I put a getColumnName() method in the server like this:

and then have this method in the client too, which implements AbstractTableModel, like this:

but the table I got only has data in it, the tableheader is missing, I am using Swing 1.0.2, I don't know why, can anybody help me?
I feel so upset, there is too many things to consider for this assignment,
Regards
Lucy

[This message has been edited by lucy hu (edited January 14, 2001).]
 
Paul Smiley
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May I ask why you are using Swing 1.02? I thought Java 2 comes with 1.1.1. Are you taking the 1.1 test?
I believe that you must explicitly create the table header.
 
lucy hu
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry for that mistake, yes, I AM using Swing 1.1.1,
and the table header should automatically be created here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic