This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Lists or arrays
 
Similar Threads
BigDecimal: divide round help
Three of Four fields must have a value.
List or arrays
sort-break pattern in java?
How to search for index quickly