This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT Emulations" Watch "GWT Emulations" New topic

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...

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

Joined: Oct 23, 2005
Posts: 3740

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.

[OCA 8 Book] [Blog]
I agree. Here's the link:
subject: GWT Emulations
It's not a secret anymore!