• Post Reply Bookmark Topic Watch Topic
  • New Topic

regarding JTabe and database  RSS feed

 
Mukesh Pandit
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all!
I am new to java programming. I have created a JList containing the names of some
persons ( initally) and I want to know how to associate this name from the details of
that person. The user should be able to click on the name of that person and retrieve
the details associated with him in a form of JTable. The user should be able to add new
names to the list and associate with corresponding details like name, age, sex, &c.
Please help me!
Please send me the the answer in form of working source code.
I do not want to use JDBC.
Thanks!
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Swing.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, first off, no one is going to just send you the answer with working source code. Have you attempted anything towards your own code for this problem? And second, your topic is titled JTable and database, however you said you didn't want to use JDBC. So I would have to ask, where is your data coming from?
If it is truly coming from a Database, then I am afraid you are stuck with JDBC, which is a good thing.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!