This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

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
Rancher

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.

Thanks,
Dave
 
Don't get me started about those stupid light bulbs.
 
subject: Lists or arrays
 
Similar Threads
BigDecimal: divide round help
List or arrays
sort-break pattern in java?
Three of Four fields must have a value.
How to search for index quickly