Re: Screen Resolution



Abdelali Adil wrote:

Andrew Thompson wrote:
I agree about the interesting part. I am a strong advocate of the fact that if there is any complexity whatsoever in a custom layout,
it should be encapsulated (written, coded) in a LayoutManager.

( Definining a custom layout manager is a lot easier than most
people think. )

OTOH - a lot of the things people expect can only be provided by a custom LM (or a null LM) can coded using Sun standard
LMs, just by using 'nested layouts'.

You 're right, but in my case it's only a prototype.

If its only a prototype, what about using a GUI builder?

In any case, you don't really care about screen resolution as much as you care about component size, correct? Look at ComponentListener, it can receive an event when the component changes size. (assuming you add it to the correct component :-) )

--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
.