🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Paint not being called on parent update.

#20024
From: Kevin Knappmiller
Date: Tue, 04 Nov 1997 00:00
26 lines
1232 bytes
The attached zip file contains a simple project where I am adding a new
circle
object each time I click.  As you can see this does the original painting
OK,
but when the window need to repaired, either by being maximized or by being
uncovered from another window, the paint function of the component is not
being
called by the parent.  Is there something small I am doing wrong, or am I
doing this
all wrong?  I know I can do this by creating an array of objects and
manually doing
a repaint, but in my understanding of the object relationships, once I add()
the component
to the panel, the panel object should take care of calling the repaints for
its children
when they need it.

Kevin
kevink@imageline.com



begin 666 diffuser.zip
<encoded_portion_removed>
end
Technical Details
Message-ID: <63nf67$p3e4@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,b7fd2d340dabc09d,start
X-Google-Attributes: gidf74b3,public
From: "Kevin Knappmiller" <kevink@imageline.com>
Subject: Paint not being called on parent update.
Date: 1997/11/04
Message-ID: <63nf67$p3e4@forums.borland.com>
X-Deja-AN: 286993726
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: None
Newsgroups: borland.public.jbuilder.java.language