"import javax.microedition.lcdui.Image; " + "import de.enough.polish.ui.*;";
"import javax.microedition.lcdui.Image"; this.completeMidp1 = this.defaultPackageCompleteMidp1 + "; import de.enough.polish.ui.*";
	public ImportConverter() {		// init import statements to translate from the J2ME- to the polish-GUI:		HashMap toPolish = new HashMap();		toPolish.put( "javax.microedition.lcdui.Choice", "de.enough.polish.ui.Choice; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.ChoiceGroup", "de.enough.polish.ui.ChoiceGroup; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.CustomItem", "de.enough.polish.ui.CustomItem; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.DateField", "de.enough.polish.ui.DateField; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.Form", "de.enough.polish.ui.Form; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.Gauge", "de.enough.polish.ui.Gauge; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.ImageItem", "de.enough.polish.ui.ImageItem; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.Item", "de.enough.polish.ui.Item; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.ItemCommandListener", "de.enough.polish.ui.ItemCommandListener; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.ItemStateListener", "de.enough.polish.ui.ItemStateListener; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.List", "de.enough.polish.ui.List; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.Screen", "de.enough.polish.ui.Screen; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.Spacer", "de.enough.polish.ui.Spacer; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.StringItem", "de.enough.polish.ui.StringItem; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.Style", "de.enough.polish.ui.Style; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.TextBox", "de.enough.polish.ui.TextBox; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.TextField", "de.enough.polish.ui.TextField; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.Ticker", "de.enough.polish.ui.Ticker; import de.enough.polish.ui.StyleSheet");		this.midp2ToPolish = toPolish;				this.siemensColorGameApiToPolish = new HashMap( toPolish );		this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.GameCanvas", "com.siemens.mp.color_game.GameCanvas; import de.enough.polish.ui.StyleSheet" );		this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.Layer", "com.siemens.mp.color_game.Layer; import de.enough.polish.ui.StyleSheet" );		this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.LayerManager", "com.siemens.mp.color_game.LayerManager; import de.enough.polish.ui.StyleSheet" );		this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.TiledLayer", "com.siemens.mp.color_game.TiledLayer; import de.enough.polish.ui.StyleSheet" );		this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.Sprite", "de.enough.polish.ui.game.Sprite; import de.enough.polish.ui.StyleSheet");				this.polishToSiemensColorGameApi = new HashMap();		this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.GameCanvas", "com.siemens.mp.color_game.GameCanvas; import de.enough.polish.ui.StyleSheet" );		this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.Layer", "com.siemens.mp.color_game.Layer; import de.enough.polish.ui.StyleSheet" );		this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.LayerManager", "com.siemens.mp.color_game.LayerManager; import de.enough.polish.ui.StyleSheet" );		this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.TiledLayer", "com.siemens.mp.color_game.TiledLayer; import de.enough.polish.ui.StyleSheet" );		this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.Sprite", "de.enough.polish.ui.game.Sprite; import de.enough.polish.ui.StyleSheet");				toPolish = new HashMap( toPolish );		toPolish.put( "javax.microedition.lcdui.game.GameCanvas", "de.enough.polish.ui.game.GameCanvas; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.game.Layer", "de.enough.polish.ui.game.Layer; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.game.LayerManager", "de.enough.polish.ui.game.LayerManager; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.game.Sprite", "de.enough.polish.ui.game.Sprite; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.game.TiledLayer", "de.enough.polish.ui.game.TiledLayer; import de.enough.polish.ui.StyleSheet");		toPolish.put( "javax.microedition.lcdui.game.*", "de.enough.polish.ui.game.*; import de.enough.polish.ui.StyleSheet");		this.midp1ToPolish = toPolish;				// that was peanuts now the tricky part comes:		// when javax.microedition.lcdui.* is imported, there are still		// some base classes which cannot be implemented by the polish framework,		// these have to be inserted as well:		this.completeMidp1 = 				"import javax.microedition.lcdui.CommandListener; " +				"import javax.microedition.lcdui.Alert; " +				"import javax.microedition.lcdui.AlertType; " + 				"import javax.microedition.lcdui.Canvas; " + 				"import javax.microedition.lcdui.Command; " +				"import javax.microedition.lcdui.Display; " +				"import javax.microedition.lcdui.Displayable; " + 				"import javax.microedition.lcdui.Font; " +				"import javax.microedition.lcdui.Graphics; " +				"import javax.microedition.lcdui.Image; " +				"import de.enough.polish.ui.*;";				this.completeMidp2 = 				"import javax.microedition.lcdui.CommandListener; " +				"import javax.microedition.lcdui.Alert; " +				"import javax.microedition.lcdui.AlertType; " +				"import javax.microedition.lcdui.Canvas; " + 				"import javax.microedition.lcdui.Command; " +				"import javax.microedition.lcdui.Display; " +				"import javax.microedition.lcdui.Displayable; " +				"import javax.microedition.lcdui.Font; " +				"import javax.microedition.lcdui.Graphics; " +				"import javax.microedition.lcdui.Image; " +				"import de.enough.polish.ui.*;";				// init import statements to translate from the polish- to the J2ME-GUI:		HashMap toJavax = new HashMap();		toJavax.put( "de.enough.polish.ui.*", "javax.microedition.lcdui.*" );		// add all javaxToPolish-elements switched over: 		Set set = toPolish.keySet();		for (Iterator iter = set.iterator(); iter.hasNext();) {			String key = (String) iter.next();			toJavax.put( toPolish.get(key), key );		}		this.polishToMidp2 = new HashMap( toJavax );		// add game-API for MIDP/1.0 devices:		toJavax.put( "javax.microedition.lcdui.game.GameCanvas", "de.enough.polish.ui.game.GameCanvas");		toJavax.put( "javax.microedition.lcdui.game.Layer", "de.enough.polish.ui.game.Layer");		toJavax.put( "javax.microedition.lcdui.game.LayerManager", "de.enough.polish.ui.game.LayerManager");		toJavax.put( "javax.microedition.lcdui.game.Sprite", "de.enough.polish.ui.game.Sprite");		toJavax.put( "javax.microedition.lcdui.game.TiledLayer", "de.enough.polish.ui.game.TiledLayer");		toJavax.put( "javax.microedition.lcdui.game.*", "de.enough.polish.ui.game.*");		this.polishToMidp1 = toJavax;	}