Results 1 to 2 of 2
  1. #1
    hoangdise is offline Member
    Join Date
    Oct 2011
    Posts
    1
    Rep Power
    0

    Unhappy JScrollBar doesn't show thumb

    When I set visibleAmount of JScrollBar equal with maximum Value, the thumb of JScrollbar is disappear.
    I don't know why? and i want to make the scrollbar like that: [<][ --- ][>] (the size of thumb is full of JScrollbar).

    JScrollBar doesn't show thumb-jscrollbar-not-show-thumb.png
    Last edited by hoangdise; 10-27-2011 at 10:45 AM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default Re: JScrollBar doesn't show thumb

    To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem.

    The thumb will never fill the track completely, as that would imply that the viewport cannot be scrolled -- in which case a scroll thumb is neither required nor desirable.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. [ask] why doesn't eclipse show hints?
    By aegean247 in forum Eclipse
    Replies: 0
    Last Post: 08-29-2011, 08:51 PM
  2. Subreport doesn't show in the PDF
    By sandy1991tje in forum Advanced Java
    Replies: 0
    Last Post: 06-10-2011, 02:45 PM
  3. JList doesn't show the elements
    By mrbeast87 in forum AWT / Swing
    Replies: 2
    Last Post: 04-20-2011, 06:21 PM
  4. jTextPane doesn't show HTML
    By indra-uolles in forum AWT / Swing
    Replies: 5
    Last Post: 08-31-2010, 02:29 PM
  5. Animation doesn't show when used as action?
    By ryuzog in forum New To Java
    Replies: 1
    Last Post: 01-04-2010, 01:38 AM

Tags for this Thread

Posting Permissions

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