|
|
|
| Re: Does WindowBuilder support AWT? [message #736196 is a reply to message #736193] |
Thu, 13 October 2011 15:15   |
Konstantin Scheglov Messages: 547 Registered: July 2009 |
Senior Member |
|
|
WindowBuilder does not provide wizards for AWT, but it still can render it.
There is one trick that we don't allow Window+ have layout, but if you put Panel on it manually, you will able to continue using WB.
import java.awt.Dialog;
import java.awt.Frame;
import java.awt.Panel;
public class Dialog_1 extends Dialog {
public Dialog_1() {
super((Frame) null, "My Dialog");
add(new Panel());
}
}
Konstantin Scheglov,
Google, Inc.
|
|
|
|
| Re: Does WindowBuilder support AWT? [message #739702 is a reply to message #736220] |
Mon, 17 October 2011 15:13  |
Chemi Messages: 107 Registered: July 2009 |
Senior Member |
|
|
Understood. Thanks a lot.
On 10/13/2011 10:40 PM, Eric Clayberg wrote:
> As Konstantin said, WB can render and edit AWT UIs, but we don't provide
> wizards to create new ones.
>
> Encouraging the use of raw AWT is not something we want to do. You
> should either use Swing or SWT.
|
|
|
Powered by
FUDForum. Page generated in 0.01765 seconds