Results 1 to 2 of 2
  1. #1
    givmefive5 is offline Member
    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    0

    Default Scrollbar won't appear even when it's suppose to

    Java Code:
    UpdateAsset update = new UpdateAsset();
    				System.out.println("Add was clicked.");
    				scrollPane.setColumnHeaderView(update);
    				scrollPane.setViewportView(update);
    				scrollPane.setVisible(true);

    UpdateAsset is a very long JPanel, but the scrollbars of the scrollPane does not appear, please help

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,874
    Rep Power
    8

    Default Re: Scrollbar won't appear even when it's suppose to

    Please provide an SSCCE that demonstrates just the problem. Why are you setting update to be multiple views?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Replies: 3
    Last Post: 02-28-2013, 03:32 PM
  2. ScrollBar
    By light-blue in forum AWT / Swing
    Replies: 6
    Last Post: 05-18-2012, 10:13 PM
  3. ScrollBar in a JList
    By lupo in forum AWT / Swing
    Replies: 2
    Last Post: 05-20-2010, 10:42 PM
  4. Using java.awt.Scrollbar
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-03-2008, 09:19 AM

Posting Permissions

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