• 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

adding a row to JTable

 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I'm trying to make my applet display the item i add in a JTable but its not really doing anything! (basically i want to add a row)
can someone please tell me whats wrong with my code? (the applet initialises and the tables and buttons are displayed correctly)



thanks
Hannah
 
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's some code that does work (I don't do applets)
I'm suspicous of your catch. What if exceptions are being thrown? You should at least e.printStackTrace() to see what's happening, and open you applet's console window to check!
 
H Melua
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I'm suspicous of your catch. What if exceptions are being thrown? You should at least e.printStackTrace() to see what's happening, and open you applet's console window to check![/QB]



thank you done it

yes your right about the catch, there is a bit of coding there, but i didnt put it since its not part of the question...

thanks again

[ January 04, 2006: Message edited by: H Melua ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic