[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] SWT/AWT Layouts Available
|
Hi,
In the borderlayout code,
Composite parent = ...;
parent.setLayout(new BorderLayout());
Button northButton = new Button(parent, SWT.DEFAULT);
northButton.setLayoutConstraint(BorderLayout.NORTH);
northButton.setText("North");
I couldn't find the method setLayoutConstraint(BorderLayout.NORTH) in
Control class.
Help is appreciated.
Thanks,
Prasad
From: "Scott Stanchfield" <scott@xxxxxxxxxxxx>
Reply-To: platform-swt-dev@xxxxxxxxxxx
To: <platform-ui-dev@xxxxxxxxxxx>, <platform-swt-dev@xxxxxxxxxxx>
Subject: [platform-swt-dev] SWT/AWT Layouts Available
Date: Sat, 16 Feb 2002 14:21:57 -0500
I've just posted my SWT/AWT Layout managers to my website. They include
AWT's BorderLayout, GridLayout, and FlowLayout, converted into SWT Layout
managers.
You can get them at http://javadude.com/tools, and follow the "SWT Layouts"
link.
-- Scott
==============================================================
Scott Stanchfield scott@xxxxxxxxxxxx http://javadude.com
Lead author of "Effective VisualAge for Java, Version 3"
http://javadude.com/evaj
VisualAge for Java Tips and Tricks http://javadude.com/vaj
AWT & Swing FAQ Manager, jGuru.com
Visit for Java Enlightenment! http://www.jguru.com
==============================================================
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com