Other than the Java Naming Conventions previously mentioned, it's good practice to make your member variables private, particularly if you provide getters for them - class data should not be open to...
Type: Posts; User: dlorde
Other than the Java Naming Conventions previously mentioned, it's good practice to make your member variables private, particularly if you provide getters for them - class data should not be open to...
Yes, a JTable would be a good solution. Each row would be an item and the columns would be ID, name, and price. See How To Use Tables.