Results 1 to 2 of 2
  1. #1
    Ami
    Ami is offline Member
    Join Date
    Feb 2012
    Posts
    26
    Rep Power
    0

    Default How do I make a JPanel (which holds images) scrollable?

    Hi

    My GUI has a JPanel which holds JLabels (images). I would like to make this JPanel scrollable.

    PLease can you help,

    Thanks

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: How do I make a JPanel (which holds images) scrollable?

    Suggestions:
    • Put the JPanel into a JScrollPane
    • Read the JScrollPane tutorial if you don't know how.
    • Come on back with your code attempt if you're still stuck.

Similar Threads

  1. Replies: 11
    Last Post: 02-15-2012, 10:13 AM
  2. Replies: 0
    Last Post: 12-16-2010, 05:14 PM
  3. need help with JPanel Images
    By Thebigchalupa in forum New To Java
    Replies: 5
    Last Post: 04-23-2009, 07:15 PM
  4. Images in JPanel
    By Thebigchalupa in forum Advanced Java
    Replies: 1
    Last Post: 04-21-2009, 05:11 PM
  5. Moving Images in JPanel
    By killpoppop in forum AWT / Swing
    Replies: 7
    Last Post: 03-08-2009, 02:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •