File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Problem with JSplitPane vertical split Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem with JSplitPane vertical split" Watch "Problem with JSplitPane vertical split" New topic

Problem with JSplitPane vertical split

Raja Kannappan
Ranch Hand

Joined: May 08, 2002
Posts: 83
I have JSplitPane with a JScrollPane on the top and a JPanel on the bottom.
I'm using vertical split. When user tries to move the divider up and down a line (like the line in MS Paint) appears and it moves up and down respectively. This is very weird.

Just for testing, I tried horizontal split and this weird line didn't appear.

Does anyone have any idea on what might cause that line to appear while resizing the divider?

Thanks in advance,

- Raja.
I agree. Here's the link:
subject: Problem with JSplitPane vertical split
It's not a secret anymore!