trinity
trinity

Reputation: 10494

how to place a button within a table in Java?

In the properties windows , we come across buttons in a table cell < as in font property's row , a button can be clicked on to set font properties > . Is there a way to insert a button in a Jtable 's second column < which i've created using netbeans >.. how to do that , if it is possible ?

Upvotes: 0

Views: 2037

Answers (2)

camickr
camickr

Reputation: 324207

Table Button Column shows one approach.

Upvotes: 1

Dave
Dave

Reputation: 5173

Found an example pretty easily by searching for "JButton in JTable" on Google.

Upvotes: 1

Related Questions