List manipulations

  • tj
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Sep 25, 2003
  • Posts: 6
  • Status: Offline

Post October 26th, 2003, 12:41 am

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 26th, 2003, 12:41 am

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8926
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post October 30th, 2003, 7:07 pm

What language is this for, ASP?
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • tj
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Sep 25, 2003
  • Posts: 6
  • Status: Offline

Post October 31st, 2003, 8:09 pm

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 122 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.