• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JTable...

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello...
I'm trying to create a JTable using a table model. In the model, I create the data by going through several enumerations and adding the values individually to an array, a 2D array. However, it does not seem to work. Can anyone explain to me what I may be doing wrong...maybe explain the TableModel approach...the code is really long, but it's posted on another post entitled "Why doesn't this JTable work??"
If you have any questions, feel free to ask.
Thanks for any help..!!
 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suggested a possible solution to your code
problem in a reply to your previous post. It looks
to me like you lost a method somewhere along the line.
I have found some good material on JTable using
Google. Both Manning Publications Swing book
(http://manning.spindoczine.com/sbe/) and Apress's
Definitive Guide to Swing for Java 2 book
(http://www.apress.com/catalog/sampleChapters/samplechp.html?isbn=189311578X)
have online excerpts from their respective chapters
covering JTable.
I need a Swing book myself, and am considering both
of those.
HTH,
Joe
 
Tris Rabar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!,
Thanks ever so much for your reply! I've been trying to get through this problem for a while and it's getting to me now! Because it's my first attempt at a JTable, I was not sure if what I did was right...I thought it was but when I got the errors...oh well!
Anyway, I will refer to the site you provided and see what I come up with. Thanks a lot for the suggestion!!
All your help very much appreciated.
I'll keep you posted!
 
reply
    Bookmark Topic Watch Topic
  • New Topic