Search:

Type: Posts; User: brajan1984

Search: Search took 0.06 seconds.

  1. Replies
    7
    Views
    1,661

    Re: Scroll position from the past (SSCCE)

    Here is repaired code. Now JScrollPane should be (400,400) - variable mainSize. Also I changed LayoutManager of JScrollPane to SpringLayout which is, I think, most suitable for me.

    Now calling...
  2. Replies
    7
    Views
    1,661

    Re: Scroll position from the past (SSCCE)

    I don't understand what You want to do...?

    The goal is to make all three steps in one button click - somehow force to repaint once or wait when full repaint is finished.
  3. Replies
    7
    Views
    1,661

    Re: Scroll position from the past (SSCCE)

    First click:

    Red JPanel i moving down by 50 and resizes to (1000, 300)

    Second click:

    Horizontal scrollbar moves to 50% of scrollbar length

    Third click:
  4. Replies
    7
    Views
    1,661

    Re: Scroll position from the past (SSCCE)

    OK. I simplify the problem.

    Please compile program below and tell me why program is setting correct position of JPanel and JScrollPanel scrollbars after 3 clicks of button. It should take one...
  5. Replies
    7
    Views
    1,661

    Scroll position from the past (SSCCE)

    Hello! [Please go to second post in this thread first]

    First of all, in attachments is SSCCE program which shows main problem.

    You should complie it with (after going to folder javatest_SSCCE):...
Results 1 to 5 of 5