File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable" Watch "JTable" New topic



Joined: Sep 15, 2003
Posts: 7
can you add a component like a button (JButton ) to the JTable.
If there is data that we want to arrange in row column arrangement, and also buttons that has to be included in the same row and column . how can it be done?
According to me we cant add any other component , but i would like to know if at all there is a way.
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1138

It appears you are yet another person who has not discovered Tamemusa's Swing Examples Web pages.
Good Luck,
It is sorta covered in the JavaRanch Style Guide.
subject: JTable
It's not a secret anymore!