On Tue, 24 Aug 2004 13:41:22 +0100, Mark wrote:
> The scroll pane previously used an
> XYLayoutWhat 'XYLayout'? I Googled and found lot's
of references, but there seemed to be various ones..
A fully qualified classname ( com.badlayouts.XYLayout )
might be better, or an specific URL, might be better..
> I've subsequently experienced problems with the XYLayoutWell.. an 'XYLayout', if I guess correctly how
it works, is probably worse than a null Layout..
null Layout's allow you to put specific components
in specific positions, and are terrible, non-cross
platform, not future/past Java version friendly...
OTOH, XYLayout would have much the same end results,
only it might lull you into believing that everything
should be OK because you have a Layout.
If this is a common Layout it is best to be specific
where you got it, there may be people willing/able
to assist.
Ultimately though, I recommend you work with Sun
standard API Layouts if you are a beginner. Once
you get the hang of them you realise that the null
and other 'exact' positioning layouts are
(largely) unnecessary.
HTH
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology