• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to do this with JList ?

 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have seen application's where people have used jlist or similar thing to present the information instead jtable
but the strange thing was , in that the jlist has a column name along with data ir rows
how to achieve such look ?
i have searched the java tutorial but didn't find what i was looking for
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the API for JScrollPane. The sketch should give you an idea, but if it still doesn't click follow the link to the tutorial on How to Use Scroll Panes.
 
Rob Camick
Ranch Hand
Posts: 2536
9
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in that the jlist has a column name along with data ir rows how to achieve such look ?


Sounds like a single column JTable to me. At least this is the easiest way to do this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic