Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Background Image in JList  RSS feed

 
Isaac Hewitt
Ranch Hand
Posts: 191
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please point me to where I can learn about how to place a background image in a JList?
 
Paul Clapham
Sheriff
Posts: 22468
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would that be one background image behind the whole list, or one background image per list entry? It always helps to TellTheDetails.
 
Pierre Sugar
Ranch Hand
Posts: 62
Java Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a good source for some special Swing functions at http://www.javarichclient.com Background image for JList can be found here http://www.javarichclient.com/display-a-jlist-with-a-background-image/
 
Isaac Hewitt
Ranch Hand
Posts: 191
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pierre, you are very sweet. Thanks for this tip. I would like to have a background image (in the singular) in my JList. I tried the code and it worked.
 
Pierre Sugar
Ranch Hand
Posts: 62
Java Ruby Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Happy I could help
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!