Adding Scrollbars to a canvas
- From: "Frank Meyer" <f.meyer@xxxxxxxx>
- Date: Sat, 28 May 2005 09:38:05 +0200
Hi newsgroup,
I hope this is one of my last questions, but nevertheless I'm still in
trouble with my project:
I created a canvas whre some objects are drawn. Now it could be possible
that the width of this canvas is too large for the screen width so I would
need horizontal scrollbars to be able to scroll to the end of the canvas. My
canvas class extends the JPanel object so maybe I have to use JScrollPane(?)
Now I tried to use ScrollBar directly, as well as reading the API about the
JScrollPane but I'm still confused about how to use...
Once again, thanks very much in advance for any help.
With best regards
Frank
.
- Follow-Ups:
- Re: Adding Scrollbars to a canvas
- From: Tor Iver Wilhelmsen
- Re: Adding Scrollbars to a canvas
- Prev by Date: Re: Splitting Vector into smalller sub-Vectors
- Next by Date: Re: Adding Scrollbars to a canvas
- Previous by thread: Ant LowerCase question
- Next by thread: Re: Adding Scrollbars to a canvas
- Index(es):
Relevant Pages
|