Skip to main content

JButton with JTable

1 reply [Last post]
Joined: 2006-02-17

i have a problem and i hope someone can help. I am creating a Pizzeria system and i have a JTable on the screen. When i click on a pizza button i want it to appear in the JTable. When i click on the next button i want it to appear on the second line on the Jtable and so on....

Also i have a REMOVE button and i want to know if i click on an item on the JTable and press the remove button,how will the item remove????

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-13

Take a look at tutorial 3 which seems to do about the thing you want to do:

A quick-start (webstart) link:

Sources that you can use to read more:

Resources you need to compile the example:

Hope you can find what you are looking for!