Two Laptop Bag
The moose likes Java in General and the fly likes Lists or arrays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

Lists or arrays

Mark Hughes
Ranch Hand

Joined: Jul 14, 2006
Posts: 146
Hey guys

I need to display a table showing a list of products, such as
product price unit
apple 1.00 3
pear 2.00 4

can some one please get me started on this, thanks
also i will need to add a method for displaying Total price
such as
product price unit total
apple 1.00 3 3.00
pear 2.00 4 8.00

if anyone can give me simple code and explanation and steps i need to take in other to get started, be much apperciated
thanks mark
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple forums. It creates duplicate conversations and wastes the time of the people trying to help you.

I agree. Here's the link:
subject: Lists or arrays
It's not a secret anymore!