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 AWT ScrollPane without border Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "AWT ScrollPane without border" Watch "AWT ScrollPane without border" New topic

AWT ScrollPane without border

hubert kohler

Joined: May 30, 2003
Posts: 1
I have to use JDK 1.1.8 and I want to use a ScrollPane. The scrolling should be controlled by programm (--> SCROLLBARS_NEVER). The ScrollPane still shows a border. How can I set the border to invisible (or set the color to the background-color)?
Thanks in advance!
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
please refer to Class ScrollPane.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Moving this to the AWT / Swing / JFC forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: AWT ScrollPane without border
It's not a secret anymore!