🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15079

Like an edit box

#15079
From: Christophe
Date: Thu, 15 Jul 1999 00:00
14 lines
1132 bytes
Hi

I've done a grid compatible with 4.0 browsers without Swing.
I draw on a canvas owned by a panel which has a GridBagLayout.
Everthing works fine (drawing, selecting rows or cells, draw and set
ScrollBars ..) but I now want to allow editing.
How can I draw a TextField over the Canvas without redefine all the layout ?
I know that there's the Reshape method but it works only with null layout.
If it's impossible is there an easy way to simulate the "flashing" cursor
like it's used in a textField or in a textArea when it has the focus?

Thanks for any tips.

Christophe
Technical Details
Message-ID: <7ml86j$5r210@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,d79f64fb571e4748,start
X-Google-Attributes: gidf74b3,public
From: "Christophe" <cespern@ragemail.com>
Subject: Like an edit box
Date: 1999/07/15
Message-ID: <7ml86j$5r210@forums.borland.com>
X-Deja-AN: 501417010
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.language