Re: How many warnings is too many?
- From: Thomas Hawtin <usenet@xxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Dec 2005 20:57:56 +0000
ricky.clarkson@xxxxxxxxx wrote:
Thomas,
For normal uses there is no point extending JPanel. But banning a component extending JComponent is absurd.
To my eyes, the main difference between JPanel and JComponent is that JPanel is opaque by default. I might have missed something. So I will
You are apparently not alone in missing something. JPanel is not guaranteed to be opaque by default. It is PL&F dependent. For my machine the PL&F that matches the common native look & feel may or may not set JPanels to opaque depending upon which version of Java I use.
http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html#contentpane
Tom Hawtin -- Unemployed English Java programmer http://jroller.com/page/tackline/ .
- References:
- How many warnings is too many?
- From: Rhino
- Re: How many warnings is too many?
- From: Missaka Wijekoon
- Re: How many warnings is too many?
- From: Chris Smith
- Re: How many warnings is too many?
- From: Roedy Green
- Re: How many warnings is too many?
- From: Chris Smith
- Re: How many warnings is too many?
- From: Monique Y. Mudama
- Re: How many warnings is too many?
- From: ricky.clarkson@xxxxxxxxx
- Re: How many warnings is too many?
- From: Thomas Hawtin
- Re: How many warnings is too many?
- From: ricky.clarkson@xxxxxxxxx
- How many warnings is too many?
- Prev by Date: Re: sevlet postback variable
- Next by Date: Re: display tree using JSP
- Previous by thread: Re: How many warnings is too many?
- Next by thread: Re: How many warnings is too many?
- Index(es):
Relevant Pages
|