File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes GWT Emulations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT Emulations" Watch "GWT Emulations" New topic
Author

GWT Emulations

Mohit J Kumar
Ranch Hand

Joined: Apr 08, 2010
Posts: 33

How to create emulations/translatable-code in GWT?
How to decide which native code would be of no use.
For example, I was writing GWT Emulation for Color class in java.awt package, is there any way to safely
drop some methods while writing the emulation.

Please help...
Thanks.

"It's good to B in touch...So keep responding"
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3716
    
    5

Are you referring to the GWT Java to JavaScript compiler? In general, you need the Java source for any such conversions. There are limitations, though, for what the GWT compiler will translate. A lot of times you need to rely on the Google classes instead of the standard set of java classes.


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GWT Emulations