Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jtable problem  RSS feed

 
srinivaS rao mul
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody i am facing a problem with j table in swings .i am new to this concept .tell me how to create a j table using drag and drop mechanism


actually i wanna display data from database into that j table.i want drag and drop mechanism since i know how to work by manually in Net-beans 6.0.1 .please solve my problem
 
Rob Camick
Ranch Hand
Posts: 2752
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am facing a problem with j table in swings .i am new to this concept


Well, then start by reading the JTable API and follow the link to the Swing tutorial on "How to Use Tables" where you will find examples and explanations. Don't rely on an IDE to write the the code for you.
 
mark goking
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rob's right. that tutorial will teach you how to add data to your JTable
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!