🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2714

Override a textarea componet/

#2714
From: Scott Yaung
Date: Fri, 07 Jul 2000 00:00
10 lines
748 bytes
Hi ,
 I need to build a class from textarea ,drawing colorful text .
 so I add a "public void paint(Graphics g)" method to draw what I like
but I find the system call the textarea.paint(g) too
when I try paintComponent ,the samething .

How can I do it ?

Thanks lot and Best Regards
Scott
Technical Details
Message-ID: <8k4d92$q514@bornews.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: 1089d0,60de66030ea98005,start
X-Google-Attributes: gid1089d0,public
From: "Scott Yaung" <hypnex@163.net>
Subject: Override a textarea componet/
Date: 2000/07/07
Message-ID: <8k4d92$q514@bornews.borland.com>
X-Deja-AN: 643423508
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Newsgroups: borland.public.jbuilder.java.api