3

Possible Duplicate:
How to assign the auto complete text field to JTable cell?

I have created a class for auto complete text fields.

I want to use that class and try to include my JTable cell fields, add that controls to one panel but it won't display. please advice

Community
  • 1
  • 1
kanna
  • 39
  • 3
  • 4
  • This Link is helpful for you. http://stackoverflow.com/questions/2623957/how-to-display-a-jtable-in-a-jpanel-with-java – Amit Kumar Aug 09 '12 at 10:28
  • please don't ask the exact same question (over and over) again - instead try to understand the answers you where given last time. – kleopatra Aug 09 '12 at 10:48

1 Answers1

4

You need a cellrenderer and so...

Here is an example for using a JPanel in a JTable cell.

Chris S.
  • 323
  • 1
  • 4
  • 13
  • 1
    This should be a comment. Otherwise please provide enough details. –  Jun 04 '16 at 14:08
  • Thanks for comment an post which is about 4 years old... – Chris S. Jun 13 '16 at 08:26
  • The website is offline but has been crawled by the wayback machine: https://web.archive.org/web/20170803143713/http://pekalicious.com/blog/custom-jpanel-cell-with-jbuttons-in-jtable/ – MadMike Dec 06 '22 at 10:55