List manipulations

  • tj
  • Newbie
  • Newbie
  • tj
  • Posts: 6

Post 3+ Months Ago

Hey guys,

I need to display 5 columns of text in a List (not JList, but the AWT List).

The info is in a text file(say, stock.txt) with the following contents:

10001A|BMX Bicycle|$178.00|12|9
73002B|Acme Boat|$578.00|4|4
50006G|Voodoo Crystal|$318.00|10|8

Prob 1:
How can I get this info loaded into the List (which is embedded in a ScrollPane).

Prob 2:
I need to place the following descriptions above this list:

Code, Description, Price, On-Stock, Now Available

Which one's better: Labels for each, or a List?

Your kind help will be highly appreciated!

Regards
:)
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9090
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

What language is this for, ASP?
  • tj
  • Newbie
  • Newbie
  • tj
  • Posts: 6

Post 3+ Months Ago

Bigwebmaster wrote:
What language is this for, ASP?


JAVA

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 70 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.