Skip to main content



      Home
Home » Eclipse Projects » WindowBuilder » Does WindowBuilder support AWT?
Does WindowBuilder support AWT? [message #736179] Thu, 13 October 2011 14:36 Go to next message
Eclipse UserFriend
Does WindowBuilder support AWT?

Thanks in advance,

Chemi.
Re: Does WindowBuilder support AWT? [message #736181 is a reply to message #736179] Thu, 13 October 2011 14:39 Go to previous messageGo to next message
Eclipse UserFriend
Yes.
Re: Does WindowBuilder support AWT? [message #736193 is a reply to message #736181] Thu, 13 October 2011 14:56 Go to previous messageGo to next message
Eclipse UserFriend
On 10/13/2011 8:39 PM, Konstantin Scheglov wrote:
> Yes.
>

I saw AWT Components in the palette but I was not able to find how to
create a Window, Frame or Applet as main container of my application
(just Swing containers). Any tip?

Thanks in advance,

Chemi.
Re: Does WindowBuilder support AWT? [message #736196 is a reply to message #736193] Thu, 13 October 2011 15:15 Go to previous messageGo to next message
Eclipse UserFriend
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());
  }
}
Re: Does WindowBuilder support AWT? [message #736220 is a reply to message #736193] Thu, 13 October 2011 16:40 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Does WindowBuilder support AWT? [message #739702 is a reply to message #736220] Mon, 17 October 2011 15:13 Go to previous message
Eclipse UserFriend
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.
Previous Topic:WB Databinding Tab - Information about the "code generation pattern"
Next Topic:NoClassDefFoundError when trying to open ViewPart code with WindowBuilder
Goto Forum:
  


Current Time: Tue Jul 22 19:29:58 EDT 2025

Powered by FUDForum. Page generated in 0.04386 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top