Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: java swing question Date: Tue, 22 Jul 2014 17:35:54 -0400 Organization: A noiseless patient Spider Lines: 33 Message-ID: References: <53cdc33c$0$295$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 22 Jul 2014 21:44:29 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="b896cb427f8c4d19d14880347aa9d6ce"; logging-data="26781"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1XERbdynZAISHIZ/765kqniwdgg8g1R8=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.6.0 In-Reply-To: <53cdc33c$0$295$14726298@news.sunsite.dk> Cancel-Lock: sha1:aFY/VU/l0AubESwR+10U8jXu990= Xref: csiph.com comp.lang.java.programmer:29210 On 07/21/2014 09:49 PM, Arne Vajhøj wrote: > On 7/20/2014 3:24 PM, Jeff Higgins wrote: >> On 07/20/2014 03:23 PM, Peter wrote: >>> 於 21/7/14上午3:15, Peter 提到: >>>> Hi All >>>> Why JPanel doesn't have a paintComponent() method? How can I >>>> control >>>> which component to paint? >>>> thanks >>>> from Peter >>> >>> Sorry, i meant BasicPanelUI doesn't have a paintComponent() >> RTFM >> GIYF swing+architecture > > Studying Swing architecture is probably a very good thing > for anyone developing a Swing app. > > But I must admit that have a feeling that the road from > Swing architecture to answering the specific question may > be a bit long. > Googling swing+architecture, for me, produces the first hit: . The Question: "Sorry, i meant BasicPanelUI doesn't have a paintComponent()" (I guess that's a question). Depending upon one's reading speed and comprehension, the road seems short, narrow, and straight.