🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8992

paint

#8992
From: steve
Date: Sun, 28 May 2000 00:00
13 lines
809 bytes
I have an application that extends JFrame.  When I resize it the paint
method fires twice.  Is this a feature or a bug?  My paint method looks
like this:

public void paint(Graphics g)
{
  super(g);                     // call parent paint
  pnlCanvas.draw(g);    //  call draw method in other class
 }

thanks

steve
Technical Details
Message-ID: <393153BB.D4559776@erols.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: 111d45,1f4ff6baf79110a0,start
X-Google-Attributes: gid111d45,public
From: steve <stmj@erols.com>
Subject: paint
Date: 2000/05/28
Message-ID: <393153BB.D4559776@erols.com>
X-Deja-AN: 628306708
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 28 May 2000 09:59:40 -0800, 208.185.18.224
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing