Article View: borland.public.jbuilder.java.language
Article #18890Re: Partially editable scrolling window
From: Conrad Hoesle-Kienzlen
Date: Thu, 02 Apr 1998 00:00
Date: Thu, 02 Apr 1998 00:00
21 lines
1354 bytes
1354 bytes
Dean, there is nothing ready-made available to do this. I would use a non-edible, pardon, non editable text-area with a (closely positioned) editable text field at the bottom. A (IMHO) not so good solution would be to add a key-listener that inquires the position of the cursor at each keystroke and refrains from passing on the key if it's not the bottom line. ...Conrad Dean Henkel wrote: > I'm working on an application that needs a control that displays text > in a scrollable window but only the last line in the window is > editable. When the user presses return everything scrolls up with any > results of the command being displayed and the last line blank and > editable. Any suggestions on how that might be accomplished? Also I'd > like to use the swing controls. > > Thanks. > > Dean
Technical Details
Message-ID:
<3523DEEA.ED4EBEB0@csi.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35239AD7.3987A78D@us.ibm.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,9d554363f61b2578 X-Google-Attributes: gidf74b3,public From: Conrad Hoesle-Kienzlen <Conrad_Hoesle@csi.com> Subject: Re: Partially editable scrolling window Date: 1998/04/02 Message-ID: <3523DEEA.ED4EBEB0@csi.com> X-Deja-AN: 340261988 Content-Transfer-Encoding: 7bit References: <35239AD7.3987A78D@us.ibm.com> Content-Type: text/plain; charset=us-ascii Organization: CHK IT-Consulting Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language