Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to display list data on separate lines?

 
Jade Davidson
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am finally having some success getting my program to work. I connected to the database and am getting the data back. But how do I get the column data to display on separate lines in the listbox? I am adapting it from a non-GUI program which used /n.
This is the code:
 
Jade Davidson
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind. I just handed the program in.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic