Re: can gwt work with javax.swing.* ?

2009-01-11 Thread DaBlick
GWT gets translated to Javascript. Now, you might argue So? I heard Swing is pure Java. Why can't SWING by translated by the compiler to JS? The answer is because while Swing is pure Java, it is layered on top of AWT which is anything BUT pure Java. Thinking SWT? Don't go there. Like

Re: can gwt work with javax.swing.* ?

2009-01-11 Thread Tom Schindl
Hi, Though what you are saying is perfectly right there are on going efforts in Eclipse 4.x (short e4) to provide an SWT-implementation for RIA toolkits like GWT, Flex, ... . Tom DaBlick schrieb: GWT gets translated to Javascript. Now, you might argue So? I heard Swing is pure Java. Why

Re: can gwt work with javax.swing.* ?

2009-01-10 Thread mikedshaf...@gmail.com
OK, one of the things that you have to wrap your head around is how GWT works. You write GWT using Java, but then the GWT compiler converts this into Javascript HTML. It can only do this to Java that it specifically knows about. Your Swing JLabel component is not something GWT understands and