Did it!

First, just extract your Foo class to a file named Foo.java in the
same directory as your demo.java.  Make sure both files have the same
package statement at the top.

Then copy the demo.gwt.xml to Foo.gwt.xml.  Delete the entry-point
line from  Foo.gwt.xml.  There might also be some inherits lines that
aren't needed by Foo.

Add an import statement in demo.java and you can use Foo in demo.java.

On Oct 9, 5:18 pm, JohnMudd <[EMAIL PROTECTED]> wrote:
> I currently have demo.java.  I just want to move a class out of that
> file to a separate file.
>
> John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to