Re: AWT ScrollPane
From: ak (spam_at_imagero.com)
Date: 05/29/04
- Next message: Dag Sunde: "Re: Squeezy Applet - Pushing the limits"
- Previous message: Andrew Thompson: "Squeezy Applet - Pushing the limits"
- In reply to: Roedy Green: "Re: AWT ScrollPane"
- Next in thread: Andrew Thompson: "Re: AWT ScrollPane"
- Reply: Andrew Thompson: "Re: AWT ScrollPane"
- Reply: Roedy Green: "Re: AWT ScrollPane"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 May 2004 12:18:15 +0200
> >no, but you can use ScrollBar.
>
> I thought that was just something used internally by ScrollPane. Do
> you have any sample code?
if you use TextArea, then just create TextArea with only 1 ScrollBar:
int rows = 100;
int columns = 400;
TextArea ta = new TextArea("some text", rows, columns ,
TextArea.SCROLLBARS_VERTICAL_ONLY);
-- http://uio.dev.java.net http://reader.imagero.com
- Next message: Dag Sunde: "Re: Squeezy Applet - Pushing the limits"
- Previous message: Andrew Thompson: "Squeezy Applet - Pushing the limits"
- In reply to: Roedy Green: "Re: AWT ScrollPane"
- Next in thread: Andrew Thompson: "Re: AWT ScrollPane"
- Reply: Andrew Thompson: "Re: AWT ScrollPane"
- Reply: Roedy Green: "Re: AWT ScrollPane"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|