Re: Using GWT to draw line

2008-11-18 Thread mok sara
Hello,
You can find it out in this link.
http://code.google.com/p/gwt-diagrams/
Hope that will help you.

Regards,
Mok

On Tue, Nov 18, 2008 at 10:58 PM, Pete Kay <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I wouls like to use GWT to make a very simple drag and drop flow chart
> object.  Is it possible?  The part that I can't figure out is how to use GWT
> to create a LINE that I can use to connect two rectangular images.
>
> Any suggestion will be greatly appreciated.
>
> Thanks,
> Pete
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Ext GWT

2008-10-16 Thread mok sara
Hello,
I'm not very expert.i'm also beginner.if u want to get the button click
event ,you can try like the following ways.



 SelectionListener listener = new SelectionListener() {
 public void componentSelected(ComponentEvent ce) {
 Button btn = (Button) ce.component;
   Info.display("Click Event", "The '{0}' button was clicked.",
btn.getText());
  }
 };
 createButton = new Button("Ok",listener);
  formular = new FormPanel();
  TextField name = new TextField();
  name.setFieldLabel("Nachname");
   formular.add(name);
formular.addButton(createButton);
   RootPanel.get().add(formular);


I think ,this url will help you.
http://www.extjs.com/explorer/#buttons


On Thu, Oct 16, 2008 at 4:54 PM, Michi_de <[EMAIL PROTECTED]> wrote:

>
> Hi!
> Im a beginer in GWT and i have to use Ext GWT.
> But my problem is: i cant get any usefull tutorials or anything, to
> get started with some of Ext GWT Widgets. Like the FormPanel.
> As i cant register to the Ext GWT Forum, i give a try here, maybe
> someone uses Ext GWT too and can help me.
>
> My problem is pretty simple:
> I create a FormPanel like this:
>
> public class Formular implements EntryPoint  {
>
>private FormPanel formular ;
>private Button createButton;
>
>
>public void onModuleLoad() {
>createButton = new Button("Ok");
>form = new FormPanel();
>
>
>TextField name = new TextField();
>name.setFieldLabel("Nachname");
>
>form.add(nachname);
>form.addButton(createButton);
>
>
>RootPanel.get("form").add(form);
>}
> }
>
> Actually this form works. I can add things and stuff and hit the
> button. But i cant wire any action listeners to this button. I just
> dont get it, how this should be working? The button is not the same
> button, as the GWT Button. The Ext GWT Button dont have any
> "addClickListener()" method.
> And so far i just cant find anything, to procede with the form.
> This form just suck terribly.
>
> I wanted to add a clickListener to the button and then start a method.
> Symple as it is in GWT. In Ext GWT i just cant do anything.
>
> Any hints, on how to work with Ext GWT Form Panels?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---