One suggestion: Java naming conventions: Leading letter of name is uppercase for classes and lowercase for variables.
Type: Posts; User: Norm
One suggestion: Java naming conventions: Leading letter of name is uppercase for classes and lowercase for variables.
Sorry, I don't do much GUI with JTables.
With a class, you'd put those three items: ID, name and price in one object.
You could have a constructor that takes all three to build an object.
Then you'd want to put the objects in a...
I thought there were 2 items. I'm confused why you mentioned the 2 dim array.
What data type is an "item"?
No. It will be better if you make a class to hold the data. Parallel/2D arrays can be an update problem.
A class will get you lots more flexibility. One is the typing of the class object when you...