harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r660326 [4/17] - in /harmony/enhanced/microemulator: ./ microemu-android/ microemu-android/src/ microemu-android/src/org/ microemu-android/src/org/microemu/ microemu-android/src/org/microemu/android/ microemu-android/src/org/microemu/androi...
Date Mon, 26 May 2008 22:21:57 GMT
Added: harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FileEditor.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FileEditor.java?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FileEditor.java (added)
+++ harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FileEditor.java Mon May 26 15:20:19 2008
@@ -0,0 +1,109 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.microemu.examples.fcview;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+import javax.microedition.io.file.FileConnection;
+import javax.microedition.lcdui.Command;
+import javax.microedition.lcdui.CommandListener;
+import javax.microedition.lcdui.Displayable;
+import javax.microedition.lcdui.TextBox;
+import javax.microedition.lcdui.TextField;
+
+/**
+ * @author vlads
+ *
+ */
+public class FileEditor extends TextBox  implements CommandListener {
+
+	static final Command saveCommand = new Command("Save", Command.OK, 1);
+	
+	static final Command backCommand = new Command("Back", Command.BACK, 5);
+	
+	private Displayable back;
+	
+	FileConnection file;
+	
+	public FileEditor(FileConnection fc, Displayable back) {
+		super("Edit " + fc.getName(), null, 128, TextField.ANY);
+		this.back = back;
+		addCommand(saveCommand);
+		addCommand(backCommand);
+		setCommandListener(this);
+		
+		file = fc;
+		load();
+	}
+
+	private void load() {
+		DataInputStream is = null; 
+		try {
+			is = file.openDataInputStream();
+			this.setString(is.readUTF());
+		} catch (IOException e) {
+			e.printStackTrace();
+		} finally {
+			try {
+				if (is != null) {
+					((InputStream)is).close();
+				}
+			} catch (IOException ignore) {
+			}
+		}
+	}
+
+	private void save() {
+		DataOutputStream os = null; 
+		try {
+			os = file.openDataOutputStream();
+			os.writeUTF(this.getString());
+		} catch (IOException e) {
+			e.printStackTrace();
+		} finally {
+			try {
+				if (os != null) {
+					((OutputStream)os).close();
+				}
+			} catch (IOException ignore) {
+			}
+		}
+	}
+	
+	/* (non-Javadoc)
+	 * @see javax.microedition.lcdui.CommandListener#commandAction(javax.microedition.lcdui.Command, javax.microedition.lcdui.Displayable)
+	 */
+	public void commandAction(Command c, Displayable d) {
+		if (c == backCommand) {
+			try {
+				file.close();
+			} catch (IOException ignore) {
+			}
+			FCViewMIDlet.setCurrentDisplayable(back);
+		} else if (c == saveCommand) {
+			save();
+		}
+		
+	}
+}

Propchange: harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FileEditor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FilesList.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FilesList.java?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FilesList.java (added)
+++ harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FilesList.java Mon May 26 15:20:19 2008
@@ -0,0 +1,142 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.microemu.examples.fcview;
+
+import java.io.IOException;
+import java.util.Enumeration;
+
+import javax.microedition.io.Connector;
+import javax.microedition.io.file.FileConnection;
+import javax.microedition.io.file.FileSystemRegistry;
+import javax.microedition.lcdui.Alert;
+import javax.microedition.lcdui.AlertType;
+import javax.microedition.lcdui.Command;
+import javax.microedition.lcdui.CommandListener;
+import javax.microedition.lcdui.Displayable;
+import javax.microedition.lcdui.Image;
+import javax.microedition.lcdui.List;
+
+/**
+ * @author vlads
+ * 
+ */
+public class FilesList extends List implements CommandListener {
+
+	static final Command exitCommand = new Command("Exit", Command.EXIT, 5);
+
+	private FileConnection currentDir;
+
+	private Image dirIcon = null, fileIcon = null;
+
+	private final static char DIR_SEP = '/';
+
+	public FilesList() {
+		super("", List.IMPLICIT);
+		this.addCommand(exitCommand);
+		this.setCommandListener(this);
+	}
+
+	public void changeDir(String name) {
+		if (currentDir == null) {
+			setDir(name);
+		} else if (name.equals("..")) {
+			if (currentDir.getName().length() == 0) {
+				setDir(null);
+			} else {
+				setDir(currentDir.getPath());
+			}
+		} else {
+			setDir(currentDir.getPath() + currentDir.getName() + name);
+		}
+	}
+
+	public void setDir(String location) {
+		FileConnection dir = null;
+		Enumeration fsEnum;
+		try {
+			if (location == null) {
+				fsEnum = FileSystemRegistry.listRoots();
+				this.setTitle("FS Roots");
+			} else {
+				System.out.println("cd " + location);
+				String sep = "";
+				if (location.charAt(0) != DIR_SEP) {
+					sep = String.valueOf(DIR_SEP);
+				}
+				dir = (FileConnection) Connector.open("file://localhost" + sep + location);
+				if (!dir.isDirectory()) {
+					FCViewMIDlet.setCurrentDisplayable(new FileEditor(dir, this));
+					return;
+				}
+				this.setTitle(dir.getPath() + dir.getName());
+				fsEnum = dir.list();
+				System.out.println("new location " + dir.getURL());
+			}
+
+			this.deleteAll();
+			if (location != null) {
+				this.append("..", dirIcon);
+			}
+			while (fsEnum.hasMoreElements()) {
+				String fileName = (String) fsEnum.nextElement();
+				if (fileName.charAt(fileName.length() - 1) == DIR_SEP) {
+					this.append(fileName, dirIcon);
+				} else {
+					this.append(fileName, fileIcon);
+				}
+			}
+			if (currentDir != null) {
+				currentDir.close();
+			}
+			currentDir = dir;
+		} catch (IOException e) {
+			showError(e.getMessage());
+		}
+	}
+
+	private void showError(String message) {
+		Alert alert = new Alert("Error", message, null, AlertType.ERROR);
+		alert.setTimeout(Alert.FOREVER);
+		FCViewMIDlet.setCurrentDisplayable(alert);
+	}
+
+	public void commandAction(Command c, Displayable d) {
+		if (d == this) {
+			if (c == List.SELECT_COMMAND) {
+				final String newDir = this.getString(this.getSelectedIndex());
+				new Thread(new Runnable() {
+					public void run() {
+						changeDir(newDir);
+					}
+				}).start();
+			} else if (c == exitCommand) {
+				if (currentDir != null) {
+					try {
+						currentDir.close();
+					} catch (IOException ignore) {
+					}
+					currentDir = null;
+				}
+				FCViewMIDlet.exit();
+			}
+		}
+
+	}
+}

Propchange: harmony/enhanced/microemulator/microemu-examples/microemu-fcview/src/main/java/org/microemu/examples/fcview/FilesList.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-examples/pom.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-examples/pom.xml?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-examples/pom.xml (added)
+++ harmony/enhanced/microemulator/microemu-examples/pom.xml Mon May 26 15:20:19 2008
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    <!-- @version $Revision: 1626 $ ($Author: vlads $) $Date: 2008-03-04 21:47:36 -0500 (Tue, 04 Mar 2008) $ -->
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.microemu</groupId>
+        <artifactId>microemu</artifactId>
+        <version>2.0.3-SNAPSHOT</version><!--me-version-->
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>microemu-examples</artifactId>
+    <name>microemu-examples</name>
+    <packaging>pom</packaging>
+
+    <description>microemu-examples</description>
+
+    <distributionManagement>
+        <!-- no-deployment in repository -->
+        <repository>
+            <id>pyx4j.com-no-deployment</id>
+            <url>file:///${basedir}/target/tmp</url>
+        </repository>
+    </distributionManagement>
+
+    <modules>
+        <module>microemu-demo</module>
+        <module>microemu-fcview</module>
+    </modules>
+
+</project>
\ No newline at end of file

Propchange: harmony/enhanced/microemulator/microemu-examples/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/pom.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/pom.xml?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/pom.xml (added)
+++ harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/pom.xml Mon May 26 15:20:19 2008
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    <!-- @version $Revision: 1626 $ ($Author: vlads $) $Date: 2008-03-04 21:47:36 -0500 (Tue, 04 Mar 2008) $ -->
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.microemu</groupId>
+        <artifactId>microemu-extensions</artifactId>
+        <version>2.0.3-SNAPSHOT</version><!--me-version-->
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>microemu-device-resizable</artifactId>
+    <name>microemu-device-resizable</name>
+
+    <description>microemu-device-resizable</description>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>org.microemu</groupId>
+            <artifactId>microemu-javase-swing</artifactId>
+            <version>${project.version}</version>
+            <scope>provided</scope>
+        </dependency>
+
+    </dependencies>
+
+</project>
\ No newline at end of file

Propchange: harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/src/main/resources/org/microemu/device/resizable/device.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/src/main/resources/org/microemu/device/resizable/device.xml?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/src/main/resources/org/microemu/device/resizable/device.xml (added)
+++ harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/src/main/resources/org/microemu/device/resizable/device.xml Mon May 26 15:20:19 2008
@@ -0,0 +1,325 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<device name="Resizable device"
+        xmlns="http://www.microemu.org/2.0.2/"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="http://www.microemu.org/2.0.2/ http://www.microemu.org/2.0.2/device.xsd">
+    <!-- img is used here for the backward compatibility, can be removed in version 3 -->
+    <img name="normal" src="normal.png" />
+    <display resizable="true">
+        <iscolor>true</iscolor>
+        <numcolors>65536</numcolors>
+        <numalphalevels>256</numalphalevels>
+        <foreground>000000</foreground>
+        <background>ffffff</background>
+        <rectangle>
+            <x>0</x>
+            <y>0</y>
+            <width>176</width>
+            <height>220</height>
+        </rectangle>
+        <paintable>
+            <x>0</x>
+            <y>22</y>
+            <width>176</width>
+            <height>176</height>
+        </paintable>
+        <icon name="up">
+            <paintable>
+                <x>78</x>
+                <y>206</y>
+                <width>12</width>
+                <height>12</height>
+            </paintable>
+            <img name="normal" src="/org/microemu/device/default/up.png"/>
+            <img name="pressed" src="/org/microemu/device/default/up-pressed.png"/>
+        </icon>
+        <icon name="down">
+            <paintable>
+                <x>88</x>
+                <y>206</y>
+                <width>12</width>
+                <height>12</height>
+            </paintable>
+            <img name="normal" src="/org/microemu/device/default/down.png"/>
+            <img name="pressed" src="/org/microemu/device/default/down-pressed.png"/>
+        </icon>
+        <status name="input">
+            <paintable>
+                <x>4</x>
+                <y>4</y>
+                <width>14</width>
+                <height>7</height>
+            </paintable>
+            <img name="123" src="/org/microemu/device/default/123.png"/>
+            <img name="ABC" src="/org/microemu/device/default/abc_upper.png"/>
+            <img name="abc" src="/org/microemu/device/default/abc_lower.png"/>
+        </status>
+    </display>
+    <fonts hint="antialiasing">
+        <font face="system" style="plain" size="small">
+            <system name="SansSerif" style="plain" size="10"/>
+        </font>
+        <font face="system" style="plain" size="medium">
+            <system name="SansSerif" style="plain" size="12"/>
+        </font>
+        <font face="system" style="plain" size="large">
+            <system name="SansSerif" style="plain" size="14"/>
+        </font>
+        <font face="system" style="bold" size="small">
+            <system name="SansSerif" style="bold" size="10"/>
+        </font>
+        <font face="system" style="bold" size="medium">
+            <system name="SansSerif" style="bold" size="12"/>
+        </font>
+        <font face="system" style="bold" size="large">
+            <system name="SansSerif" style="bold" size="14"/>
+        </font>
+        <font face="system" style="italic" size="small">
+            <system name="SansSerif" style="italic" size="10"/>
+        </font>
+        <font face="system" style="italic" size="medium">
+            <system name="SansSerif" style="italic" size="12"/>
+        </font>
+        <font face="system" style="italic" size="large">
+            <system name="SansSerif" style="italic" size="14"/>
+        </font>
+        <font face="system" style="bold,italic" size="small">
+            <system name="SansSerif" style="bold,italic" size="10"/>
+        </font>
+        <font face="system" style="bold,italic" size="medium">
+            <system name="SansSerif" style="bold,italic" size="12"/>
+        </font>
+        <font face="system" style="bold,italic" size="large">
+            <system name="SansSerif" style="bold,italic" size="14"/>
+        </font>
+        <font face="monospace" style="plain" size="small">
+            <system name="Monospaced" style="plain" size="10"/>
+        </font>
+        <font face="monospace" style="plain" size="medium">
+            <system name="Monospaced" style="plain" size="12"/>
+        </font>
+        <font face="monospace" style="plain" size="large">
+            <system name="Monospaced" style="plain" size="14"/>
+        </font>
+        <font face="monospace" style="bold" size="small">
+            <system name="Monospaced" style="bold" size="10"/>
+        </font>
+        <font face="monospace" style="bold" size="medium">
+            <system name="Monospaced" style="bold" size="12"/>
+        </font>
+        <font face="monospace" style="bold" size="large">
+            <system name="Monospaced" style="bold" size="14"/>
+        </font>
+        <font face="monospace" style="italic" size="small">
+            <system name="Monospaced" style="italic" size="10"/>
+        </font>
+        <font face="monospace" style="italic" size="medium">
+            <system name="Monospaced" style="italic" size="12"/>
+        </font>
+        <font face="monospace" style="italic" size="large">
+            <system name="Monospaced" style="italic" size="14"/>
+        </font>
+        <font face="monospace" style="bold,italic" size="small">
+            <system name="Monospaced" style="bold,italic" size="10"/>
+        </font>
+        <font face="monospace" style="bold,italic" size="medium">
+            <system name="Monospaced" style="bold,italic" size="12"/>
+        </font>
+        <font face="monospace" style="bold,italic" size="large">
+            <system name="Monospaced" style="bold,italic" size="14"/>
+        </font>
+        <font face="proportional" style="plain" size="small">
+            <system name="SansSerif" style="plain" size="10"/>
+        </font>
+        <font face="proportional" style="plain" size="medium">
+            <system name="SansSerif" style="plain" size="12"/>
+        </font>
+        <font face="proportional" style="plain" size="large">
+            <system name="SansSerif" style="plain" size="14"/>
+        </font>
+        <font face="proportional" style="bold" size="small">
+            <system name="SansSerif" style="bold" size="10"/>
+        </font>
+        <font face="proportional" style="bold" size="medium">
+            <system name="SansSerif" style="bold" size="12"/>
+        </font>
+        <font face="proportional" style="bold" size="large">
+            <system name="SansSerif" style="bold" size="14"/>
+        </font>
+        <font face="proportional" style="italic" size="small">
+            <system name="SansSerif" style="italic" size="10"/>
+        </font>
+        <font face="proportional" style="italic" size="medium">
+            <system name="SansSerif" style="italic" size="12"/>
+        </font>
+        <font face="proportional" style="italic" size="large">
+            <system name="SansSerif" style="italic" size="14"/>
+        </font>
+        <font face="proportional" style="bold,italic" size="small">
+            <system name="SansSerif" style="bold,italic" size="10"/>
+        </font>
+        <font face="proportional" style="bold,italic" size="medium">
+            <system name="SansSerif" style="bold,italic" size="12"/>
+        </font>
+        <font face="proportional" style="bold,italic" size="large">
+            <system name="SansSerif" style="bold,italic" size="14"/>
+        </font>
+    </fonts>
+    <input>
+        <haspointerevents>true</haspointerevents>
+        <haspointermotionevents>true</haspointermotionevents>
+        <hasrepeatevents>true</hasrepeatevents>
+        <softbutton name="SOFT1" alignment="LEFT">
+            <paintable>
+                <x>1</x>
+                <y>203</y>
+                <width>69</width>
+                <height>16</height>
+            </paintable>
+            <font face="system" style="plain" size="medium"/>
+            <command>BACK</command>
+            <command>EXIT</command>
+            <command>CANCEL</command>
+            <command>STOP</command>
+        </softbutton>
+        <softbutton name="SOFT2" alignment="RIGHT">
+            <paintable>
+                <x>106</x>
+                <y>203</y>
+                <width>69</width>
+                <height>16</height>
+            </paintable>
+            <font face="system" style="plain" size="medium"/>
+            <command>OK</command>
+            <command>SCREEN</command>
+            <command>ITEM</command>
+            <command>HELP</command>
+        </softbutton>
+        <button name="LEFT">
+        </button>
+        <button name="RIGHT">
+        </button>
+        <button name="UP">
+        </button>
+        <button name="DOWN">
+        </button>
+        <button name="SELECT">
+        </button>
+        <button name="0">
+            <chars>
+                <char/>
+                <char>0</char>
+            </chars>
+        </button>
+        <button name="1">
+            <chars>
+                <char>.</char>
+                <char>,</char>
+                <char>?</char>
+                <char>!</char>
+                <char>:</char>
+                <char>;</char>
+                <char>-</char>
+                <char>+</char>
+                <char>#</char>
+                <char>*</char>
+                <char>(</char>
+                <char>)</char>
+                <char>'</char>
+                <char>"</char>
+                <char>_</char>
+                <char>@</char>
+                <char>&amp;</char>
+                <char>$</char>
+                <char>%</char>
+                <char>/</char>
+                <char>&lt;</char>
+                <char>&gt;</char>
+                <char>=</char>
+                <char>1</char>
+            </chars>
+            <chars input="123">
+                <char>1</char>
+                <char>.</char>
+                <char>-</char>
+                <char>(</char>
+                <char>)</char>
+                <char>+</char>
+            </chars>
+        </button>
+        <button name="2">
+            <chars>
+                <char>a</char>
+                <char>b</char>
+                <char>c</char>
+                <char>2</char>
+            </chars>
+        </button>
+        <button name="3">
+            <chars>
+                <char>d</char>
+                <char>e</char>
+                <char>f</char>
+                <char>3</char>
+            </chars>
+        </button>
+        <button name="4">
+            <chars>
+                <char>g</char>
+                <char>h</char>
+                <char>i</char>
+                <char>4</char>
+            </chars>
+        </button>
+        <button name="5">
+            <chars>
+                <char>j</char>
+                <char>k</char>
+                <char>l</char>
+                <char>5</char>
+            </chars>
+        </button>
+        <button name="6">
+            <chars>
+                <char>m</char>
+                <char>n</char>
+                <char>o</char>
+                <char>6</char>
+            </chars>
+        </button>
+        <button name="7">
+            <chars>
+                <char>p</char>
+                <char>q</char>
+                <char>r</char>
+                <char>s</char>
+                <char>7</char>
+            </chars>
+        </button>
+        <button name="8">
+            <chars>
+                <char>t</char>
+                <char>u</char>
+                <char>v</char>
+                <char>8</char>
+            </chars>
+        </button>
+        <button name="9">
+            <chars>
+                <char>w</char>
+                <char>x</char>
+                <char>y</char>
+                <char>z</char>
+                <char>9</char>
+            </chars>
+        </button>
+        <button name="ASTERISK">
+            <chars>
+                <char>*</char>
+                <char>+</char>
+            </chars>
+        </button>
+        <button name="POUND" modeChange="true">
+        </button>
+    </input>
+</device>

Propchange: harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/src/main/resources/org/microemu/device/resizable/device.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/src/main/resources/org/microemu/device/resizable/normal.png
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/src/main/resources/org/microemu/device/resizable/normal.png?rev=660326&view=auto
==============================================================================
Binary file - no diff available.

Propchange: harmony/enhanced/microemulator/microemu-extensions/microemu-device-resizable/src/main/resources/org/microemu/device/resizable/normal.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: harmony/enhanced/microemulator/microemu-extensions/pom.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-extensions/pom.xml?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-extensions/pom.xml (added)
+++ harmony/enhanced/microemulator/microemu-extensions/pom.xml Mon May 26 15:20:19 2008
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    <!-- @version $Revision: 1626 $ ($Author: vlads $) $Date: 2008-03-04 21:47:36 -0500 (Tue, 04 Mar 2008) $ -->
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.microemu</groupId>
+        <artifactId>microemu</artifactId>
+        <version>2.0.3-SNAPSHOT</version><!--me-version-->
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>microemu-extensions</artifactId>
+    <name>microemu-extensions</name>
+    <packaging>pom</packaging>
+
+    <description>microemu-extensions</description>
+
+
+    <modules>
+        <module>microemu-site-skin</module>
+
+        <module>microemu-device-large</module>
+        <module>microemu-device-minimum</module>
+        <module>microemu-device-resizable</module>
+        <module>microemu-jsr-75</module>
+        <module>microemu-jsr-82</module>
+        <module>microemu-jsr-120</module>
+        <module>microemu-jsr-135</module>
+        <module>microemu-nokiaui</module>
+        <module>microemu-siemensapi</module>
+    </modules>
+
+    <!--
+    <dependencies>
+        <dependency>
+            <groupId>org.microemu</groupId>
+            <artifactId>microemu-javase</artifactId>
+            <version>${project.version}</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+    -->
+
+</project>
\ No newline at end of file

Propchange: harmony/enhanced/microemulator/microemu-extensions/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-injected/inject-assembly.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-injected/inject-assembly.xml?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-injected/inject-assembly.xml (added)
+++ harmony/enhanced/microemulator/microemu-injected/inject-assembly.xml Mon May 26 15:20:19 2008
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<assembly>
+    <!-- @version $Revision: 908 $ ($Author: vlads $) $Date: 2007-02-13 23:13:47 -0500 (Tue, 13 Feb 2007) $ -->
+    <id>inject</id>
+    <formats>
+        <format>jar</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <fileSet>
+           <directory>target</directory>
+           <outputDirectory></outputDirectory>
+           <includes>
+                <include>microemu-injected.jar</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+</assembly>
\ No newline at end of file

Propchange: harmony/enhanced/microemulator/microemu-injected/inject-assembly.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-injected/pom.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-injected/pom.xml?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-injected/pom.xml (added)
+++ harmony/enhanced/microemulator/microemu-injected/pom.xml Mon May 26 15:20:19 2008
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    <!-- @version $Revision: 1626 $ ($Author: vlads $) $Date: 2008-03-04 21:47:36 -0500 (Tue, 04 Mar 2008) $ -->
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.microemu</groupId>
+        <artifactId>microemu</artifactId>
+        <version>2.0.3-SNAPSHOT</version><!--me-version-->
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>microemu-injected</artifactId>
+    <name>microemu-injected</name>
+
+    <description>This classes are injected into MIDlet during "Prepare for Applet" stage</description>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.3</source>
+                    <target>1.1</target>
+                </configuration>
+            </plugin>
+
+            <!-- Create application loadable on the phone -->
+            <plugin>
+                <groupId>com.pyx4me</groupId>
+                <artifactId>j2me-maven-plugin</artifactId>
+                <version>${pyx4meVersion}</version>
+                <executions>
+                   <execution>
+                        <!-- Phase before package -->
+                        <phase>test</phase>
+                        <goals>
+                            <goal>package</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <attach>false</attach>
+                    <useWtkLibs>false</useWtkLibs>
+                    <!--wtkHome>${env.WTK_HOME}</wtkHome-->
+                    <proguardPreverify>true</proguardPreverify>
+                    <proguard>false</proguard>
+                    <obfuscate>false</obfuscate>
+                    <proguardOptions>
+                        <options>
+                            <option>-dontoptimize</option>
+                            <option>-keepclasseswithmembers public class org.microemu.* { *; }</option>
+                        </options>
+                    </proguardOptions>
+                    <jarfile>microemu-injected</jarfile>
+                    <classifier>none</classifier>
+                    <libs>
+                        <lib>${basedir}/../api/cldcapi11/target/cldcapi11-${project.version}.jar</lib>
+                        <!--lib>${basedir}/../api/midpapi20/target/midpapi20-${project.version}.jar</lib-->
+                    </libs>
+                </configuration>
+            </plugin>
+
+            <!-- jar-with jar -->
+            <plugin>
+               <artifactId>maven-assembly-plugin</artifactId>
+               <executions>
+                   <execution>
+                       <phase>package</phase>
+                       <goals><goal>single</goal></goals>
+                   </execution>
+               </executions>
+               <configuration>
+                   <descriptors>
+                       <descriptor>inject-assembly.xml</descriptor>
+                   </descriptors>
+               </configuration>
+            </plugin>
+
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file

Propchange: harmony/enhanced/microemulator/microemu-injected/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java (added)
+++ harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java Mon May 26 15:20:19 2008
@@ -0,0 +1,107 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.microemu;
+
+import java.io.InputStream;
+import java.io.PrintStream;
+
+/**
+ * @author vlads
+ *
+ * This code is added to MIDlet application to solve problems while running in applet.
+ * The code is attached to application jar.
+ * 
+ * You need to use "Save for Web..." in MicroEmulator Tools Menu.
+ * The result jar is safe to run on any other Emulator or device. 
+ * 
+ * This class is not used while application is running in Applet with MicroEmulator. 
+ * Different class with the same name is used from microemu-javase-applet.jar.    
+ */
+public final class Injected {
+
+	/**
+	 * This allow redirection of stdout to MicroEmulator console
+	 */
+	public final static PrintStream out = outPrintStream();
+
+	public final static PrintStream err = errPrintStream();
+
+	/**
+	 * We don't need to instantiate the class, all access is static
+	 */
+	private Injected() {
+		
+	}
+	
+	private static PrintStream outPrintStream() {
+		return System.out;
+	}
+
+	private static PrintStream errPrintStream() {
+		return System.err;
+	}
+	
+	/**
+	 * Redirect throwable.printStackTrace() to MicroEmulator console
+	 */
+	public static void printStackTrace(Throwable t) {
+		t.printStackTrace();
+	}
+	
+	/**
+	 * This code Ingected By MicroEmulator to enable access to System properties while running in Applet
+     *
+     * @param      key   the name of the system property.
+     * @return     the string value of the system property,
+     *             or <code>null</code> if there is no property with that key.
+	 */
+	public static String getProperty(String key) {
+		try {
+			return System.getProperty(key);
+		} catch (SecurityException e) {
+			return null;
+		}
+	}
+	
+	/**
+	 * 
+	 * Returns an input stream for reading the specified resource.
+     *
+     * <p> The search order is described in the documentation for {@link
+     * #getResource(String)}.  </p>
+     *
+     * @param  origClass
+     * @param  name  The resource name
+     *
+     * @return  An input stream for reading the resource, or <tt>null</tt>
+     *          if the resource could not be found
+	 */
+	public static InputStream getResourceAsStream(Class origClass, String name)  {
+		return origClass.getResourceAsStream(name);
+	}
+	
+	/**
+	 * Enhanced Catch Block
+	 */
+	public static Throwable handleCatchThrowable(Throwable t) {
+		return t;
+	}
+	
+}

Propchange: harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-assembly.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-assembly.xml?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-assembly.xml (added)
+++ harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-assembly.xml Mon May 26 15:20:19 2008
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<assembly>
+    <!-- @version $Revision: 1545 $ ($Author: vlads $) $Date: 2008-01-16 10:11:56 -0500 (Wed, 16 Jan 2008) $ -->
+    <id>debug</id>
+    <formats>
+        <format>jar</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <dependencySets>
+        <dependencySet>
+            <unpack>true</unpack>
+            <scope>runtime</scope>
+            <outputDirectory></outputDirectory>
+            <outputFileNameMapping></outputFileNameMapping>
+        </dependencySet>
+    </dependencySets>
+</assembly>
\ No newline at end of file

Propchange: harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-assembly.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-example.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-example.html?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-example.html (added)
+++ harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-example.html Mon May 26 15:20:19 2008
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+	<head>
+		<title>MicroEmulator</title>
+	</head>
+	<body>
+		<applet code="org.microemu.applet.Main"
+		        width="226" height="471"
+		        archive="target/microemu-javase-applet-2.0.3-SNAPSHOT-debug.jar,../microemu-examples/microemu-demo/target/microemu-demo-2.0.3-SNAPSHOT-me.jar">
+            <param name="midlet" value="org.microemu.midp.examples.simpledemo.SimpleDemoMIDlet"/>
+        </applet>
+	</body>
+</html>

Propchange: harmony/enhanced/microemulator/microemu-javase-applet/applet-debug-example.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-javase-applet/applet-test-example.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-applet/applet-test-example.html?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-applet/applet-test-example.html (added)
+++ harmony/enhanced/microemulator/microemu-javase-applet/applet-test-example.html Mon May 26 15:20:19 2008
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+	<head>
+		<title>MicroEmulator</title>
+	</head>
+	<body>
+		<applet code="org.microemu.applet.Main"
+		        width="226" height="471"
+		        archive="target/microemu-javase-applet-2.0.3-SNAPSHOT.jar,../microemu-examples/microemu-demo/target/microemu-demo-2.0.3-SNAPSHOT-me.jar">
+            <param name="midlet" value="org.microemu.midp.examples.simpledemo.SimpleDemoMIDlet"/>
+        </applet>
+	</body>
+</html>

Propchange: harmony/enhanced/microemulator/microemu-javase-applet/applet-test-example.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-javase-applet/pom.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-applet/pom.xml?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-applet/pom.xml (added)
+++ harmony/enhanced/microemulator/microemu-javase-applet/pom.xml Mon May 26 15:20:19 2008
@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    <!-- @version $Revision: 1639 $ ($Author: vlads $) $Date: 2008-03-04 23:04:11 -0500 (Tue, 04 Mar 2008) $ -->
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.microemu</groupId>
+        <artifactId>microemu</artifactId>
+        <version>2.0.3-SNAPSHOT</version><!--me-version-->
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>microemu-javase-applet</artifactId>
+    <name>microemu-javase-applet</name>
+    <packaging>jar</packaging>
+
+    <description>MicroEmulator applet assembly for distribution</description>
+
+    <prerequisites>
+        <maven>2.0.5</maven>
+    </prerequisites>
+
+    <dependencies>
+
+        <dependency>
+            <groupId>org.microemu</groupId>
+            <artifactId>microemu-cldc</artifactId>
+            <version>${project.version}</version>
+            <classifier>4applet</classifier>
+            <optional>true</optional>
+        </dependency>
+
+        <dependency>
+            <groupId>org.microemu</groupId>
+            <artifactId>microemu-midp</artifactId>
+            <version>${project.version}</version>
+            <classifier>4applet</classifier>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.microemu</groupId><artifactId>microemu-cldc</artifactId>
+                </exclusion>
+            </exclusions>
+            <optional>true</optional>
+        </dependency>
+
+        <dependency>
+            <groupId>org.microemu</groupId>
+            <artifactId>microemu-javase-swing</artifactId>
+            <version>${project.version}</version>
+            <exclusions>
+                <!-- this is bug in maven 2.0.4., if used artifact with classifier would be exclused as well -->
+                <exclusion>
+                    <groupId>org.microemu</groupId><artifactId>microemu-cldc</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.microemu</groupId><artifactId>microemu-midp</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.microemu</groupId><artifactId>microemu-injected</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>asm</groupId><artifactId>asm</artifactId>
+                </exclusion>
+            </exclusions>
+            <optional>true</optional>
+        </dependency>
+
+        <dependency>
+            <groupId>sun</groupId>
+            <artifactId>applet-jsobject</artifactId>
+            <optional>true</optional>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <forceCreation>true</forceCreation>
+                    <archive>
+                        <manifestEntries>
+                            <Implementation-Version>${pom.version}</Implementation-Version>
+                        </manifestEntries>
+                    </archive>
+                </configuration>
+            </plugin>
+
+            <!-- applet jar-with-dependencies -->
+
+            <plugin>
+                <groupId>com.pyx4me</groupId>
+                <artifactId>proguard-maven-plugin</artifactId>
+                <version>${pyx4meVersion}</version>
+                <executions>
+                   <execution>
+                       <phase>package</phase>
+                       <goals><goal>proguard</goal></goals>
+                   </execution>
+                </executions>
+                <configuration>
+                    <proguardInclude>${basedir}/proguard.conf</proguardInclude>
+                    <attach>true</attach>
+                    <appendClassifier>false</appendClassifier>
+                    <assembly>
+                        <inclusions>
+                            <inclusion>
+                                <groupId>org.microemu</groupId><artifactId>microemu-cldc</artifactId><classifier>4applet</classifier><library>true</library>
+                            </inclusion>
+                            <inclusion>
+                                <groupId>org.microemu</groupId><artifactId>microemu-midp</artifactId><classifier>4applet</classifier><library>true</library>
+                            </inclusion>
+                            <inclusion>
+                                <groupId>org.microemu</groupId><artifactId>microemu-javase</artifactId>
+                                <filter>!org/microemu/app/classloader/**</filter>
+                            </inclusion>
+                            <inclusion>
+                                <groupId>org.microemu</groupId><artifactId>microemu-javase-swing</artifactId>
+                            </inclusion>
+                        </inclusions>
+                    </assembly>
+                    <exclusions>
+                        <exclusion>
+                            <groupId>org.microemu</groupId><artifactId>microemu-cldc</artifactId>
+                        </exclusion>
+                        <exclusion>
+                            <groupId>org.microemu</groupId><artifactId>microemu-midp</artifactId>
+                        </exclusion>
+                    </exclusions>
+                    <libs>
+                        <lib>${javaRunTimeJar}</lib>
+                        <lib>${javaRunTimeSecurityJar}</lib>
+                    </libs>
+                    <archive>
+                        <manifestEntries>
+                            <Version>${label}</Version>
+                            <Build-Time>${cctimestamp}</Build-Time>
+                            <Implementation-Version>${pom.version}</Implementation-Version>
+                            <SVN-Revision>${scm.revision}</SVN-Revision>
+                            <License>GNU Lesser General Public License (LGPL)</License>
+                        </manifestEntries>
+                    </archive>
+                </configuration>
+            </plugin>
+
+            <!-- applet-debug jar-with-dependencies -->
+            <plugin>
+               <artifactId>maven-assembly-plugin</artifactId>
+               <executions>
+                   <execution>
+                       <phase>package</phase>
+                       <goals><goal>single</goal></goals>
+                   </execution>
+               </executions>
+               <configuration>
+                   <attach>true</attach>
+                   <descriptors>
+                       <descriptor>applet-debug-assembly.xml</descriptor>
+                   </descriptors>
+               </configuration>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-assembly-4download</id>
+                        <phase>site</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <copy overwrite="true"
+                                    file="${project.build.directory}/${project.build.finalName}.jar"
+                                    tofile="${project.build.directory}/site/${artifactId}.jar"/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>process-html-tmplates</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <copy overwrite="true" failonerror="false"
+                                      todir="${basedir}">
+                                     <fileset dir="${basedir}/src/html-templates"/>
+                                </copy>
+                                <!-- Set version number -->
+                                <replace dir="${basedir}">
+                                    <include name="*.html"></include>
+                                    <replacefilter token="#version#" value="${version}"/>
+                                </replace>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file

Propchange: harmony/enhanced/microemulator/microemu-javase-applet/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-javase-applet/proguard.conf
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-applet/proguard.conf?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-applet/proguard.conf (added)
+++ harmony/enhanced/microemulator/microemu-javase-applet/proguard.conf Mon May 26 15:20:19 2008
@@ -0,0 +1,11 @@
+-overloadaggressively
+-defaultpackage 'me2'
+-allowaccessmodification
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-keep public class * extends java.applet.Applet { *; }
+-keep public class * implements org.microemu.microedition.io.ConnectionImplementation { *; }
+-keep public class * implements org.microemu.cldc.ClosedConnection { *; }
+-keep public class org.microemu.microedition.io.ConnectorImpl { *; }
+-keep public class org.microemu.Injected { *; }
+-keep public class org.microemu.device.** { public static <fields>; }
\ No newline at end of file

Added: harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-debug-example.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-debug-example.html?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-debug-example.html (added)
+++ harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-debug-example.html Mon May 26 15:20:19 2008
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+	<head>
+		<title>MicroEmulator</title>
+	</head>
+	<body>
+		<applet code="org.microemu.applet.Main"
+		        width="226" height="471"
+		        archive="target/microemu-javase-applet-#version#-debug.jar,../microemu-examples/microemu-demo/target/microemu-demo-#version#-me.jar">
+            <param name="midlet" value="org.microemu.midp.examples.simpledemo.SimpleDemoMIDlet"/>
+        </applet>
+	</body>
+</html>

Propchange: harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-debug-example.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-test-example.html
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-test-example.html?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-test-example.html (added)
+++ harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-test-example.html Mon May 26 15:20:19 2008
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+	<head>
+		<title>MicroEmulator</title>
+	</head>
+	<body>
+		<applet code="org.microemu.applet.Main"
+		        width="226" height="471"
+		        archive="target/microemu-javase-applet-#version#.jar,../microemu-examples/microemu-demo/target/microemu-demo-#version#-me.jar">
+            <param name="midlet" value="org.microemu.midp.examples.simpledemo.SimpleDemoMIDlet"/>
+        </applet>
+	</body>
+</html>

Propchange: harmony/enhanced/microemulator/microemu-javase-applet/src/html-templates/applet-test-example.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/microemulator/microemu-javase-swing/me-2 extensions.launch
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-swing/me-2%20extensions.launch?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-swing/me-2 extensions.launch (added)
+++ harmony/enhanced/microemulator/microemu-javase-swing/me-2 extensions.launch Mon May 26 15:20:19 2008
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/microemu-javase-swing"/>
+</listAttribute>
+<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;microemu-javase-swing&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#13;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;microemu-javase-swing&quot;/&gt;&#13;&#10;&lt;/runtimeClasspathEntry&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;microemu-jsr-120&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;microemu-cldc&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;microemu-injected&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;microemu-javase&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;microemu-midp&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;microemu-jsr-75&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;microemu-jsr-82&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;microemu-nokiaui&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry path=&quot;3&quot; projectName=&quot;microemu-siemensapi&quot; type=&quot;1&quot;/&gt;&#13;&#10;"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="microemu-javase-swing"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
+<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.microemu.app.Main"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>

Added: harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main-java142.launch
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-swing/me-2%20swing-main-java142.launch?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main-java142.launch (added)
+++ harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main-java142.launch Mon May 26 15:20:19 2008
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/microemu-javase-swing"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/j2sdk1.4.2"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="microemu-javase-swing"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.microemu.app.Main"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>

Added: harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main-java150.launch
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-swing/me-2%20swing-main-java150.launch?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main-java150.launch (added)
+++ harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main-java150.launch Mon May 26 15:20:19 2008
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/microemu-javase-swing"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.5.0"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="microemu-javase-swing"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.microemu.app.Main"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>

Added: harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main-java160.launch
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-swing/me-2%20swing-main-java160.launch?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main-java160.launch (added)
+++ harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main-java160.launch Mon May 26 15:20:19 2008
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/microemu-javase-swing"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="microemu-javase-swing"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.microemu.app.Main"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>

Added: harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main.launch
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-swing/me-2%20swing-main.launch?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main.launch (added)
+++ harmony/enhanced/microemulator/microemu-javase-swing/me-2 swing-main.launch Mon May 26 15:20:19 2008
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/microemu-javase-swing"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="microemu-javase-swing"/>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
+<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.microemu.app.Main"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+</launchConfiguration>

Added: harmony/enhanced/microemulator/microemu-javase-swing/pom.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-swing/pom.xml?rev=660326&view=auto
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-swing/pom.xml (added)
+++ harmony/enhanced/microemulator/microemu-javase-swing/pom.xml Mon May 26 15:20:19 2008
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns="http://maven.apache.org/POM/4.0.0">
+    <!-- @version $Revision: 1626 $ ($Author: vlads $) $Date: 2008-03-04 21:47:36 -0500 (Tue, 04 Mar 2008) $ -->
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.microemu</groupId>
+        <artifactId>microemu</artifactId>
+        <version>2.0.3-SNAPSHOT</version><!--me-version-->
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>microemu-javase-swing</artifactId>
+    <name>microemu-javase-swing</name>
+
+    <description>javase-swing</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.microemu</groupId>
+            <artifactId>microemu-javase</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
+        <!-- Used for ready for applet Preprocessor should only in pakaged jar -->
+        <dependency>
+            <groupId>org.microemu</groupId>
+            <artifactId>microemu-injected</artifactId>
+            <version>${project.version}</version>
+            <classifier>inject</classifier>
+            <optional>true</optional>
+        </dependency>
+
+        <dependency>
+            <groupId>sun</groupId>
+            <artifactId>applet-jsobject</artifactId>
+            <optional>true</optional>
+        </dependency>
+    </dependencies>
+
+</project>
\ No newline at end of file

Propchange: harmony/enhanced/microemulator/microemu-javase-swing/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message