English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi all, i am currently doing a java swing application on convenience store payment system which i need to retrieve the product(product desc,qty,unitprice)from the database and display it on the screen when i scanned the product when the customer make payment.But i had no idea whether to use JList or JTable or anything else to show it(product desc,qty,unitPrice)on the screen.Can anyone help me,thanks in advance?

Thanks
CoolzHeaven

2007-07-07 19:57:15 · 3 answers · asked by CoolzHeaven 1 in Computers & Internet Programming & Design

3 answers

Use JTable because JList does not change, while JTable does change according to the data held by the table model.

2007-07-07 20:37:02 · answer #1 · answered by Amit Y 5 · 0 0

u can use JList also,
depending upon the data the size of the JList will vary.

2007-07-08 05:08:26 · answer #2 · answered by prakash 1 · 0 0

make useful your JRE is > a million.3. commencing with Java5 is Internationalization and Locales. you may desire to apply Swing to do this. the toughest thank you to reveal Arabic is a custom look-n-experience.

2016-11-08 11:03:33 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers