Index: /trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/JFCSimplifiedLogParser.java
===================================================================
--- /trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/JFCSimplifiedLogParser.java	(revision 964)
+++ /trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/JFCSimplifiedLogParser.java	(revision 965)
@@ -78,5 +78,5 @@
      * </p>
      */
-    private Long currentComponentHash;
+    private Integer currentComponentHash;
     
     /**
@@ -86,5 +86,5 @@
      * </p>
      */
-    private Long currentParentHash;
+    private Integer currentParentHash;
     
     /**
@@ -93,5 +93,5 @@
      * </p>
      */
-    private Long currentEventSource;
+    private Integer currentEventSource;
      
     /**
@@ -312,5 +312,5 @@
         }
         else if (qName.equals("component")) {
-        	currentComponentHash = Long.parseLong(atts.getValue("hash"), 16);
+        	currentComponentHash = (int) Long.parseLong(atts.getValue("hash"), 16);
         	currentGuiElementSpec = new JFCGUIElementSpec();
         	currentGuiElementSpec.setElementHash((int) currentComponentHash.longValue());
@@ -324,5 +324,5 @@
         }
         else if (qName.equals("componentNameChange")) {
-        	Long sourceHash = Long.parseLong(atts.getValue("hash"), 16);
+        	int sourceHash = (int) Long.parseLong(atts.getValue("hash"), 16);
         	String newName = atts.getValue("newName");
         	int titleSource = Integer.parseInt(atts.getValue("titleSource"));
@@ -334,5 +334,5 @@
         	if (currentEventId != null){
         		if ("source".equals(atts.getValue("name"))){
-        			currentEventSource = Long.parseLong(atts.getValue("value"), 16);
+        			currentEventSource = (int) Long.parseLong(atts.getValue("value"), 16);
         		}
                 currentEventParameters.put(atts.getValue("name"), atts.getValue("value"));
@@ -351,5 +351,5 @@
         		}
         		else if ("parent".equals(atts.getValue("name"))) {
-        			currentParentHash = Long.parseLong(atts.getValue("value"), 16);
+        			currentParentHash = (int) Long.parseLong(atts.getValue("value"), 16);
         		}
             }
@@ -378,5 +378,5 @@
         }
         else if (qName.equals("component") && currentComponentHash != null) {
-        	currentComponentTree.add(currentParentHash, currentComponentHash, currentGuiElementSpec);
+        	currentComponentTree.add(currentComponentHash, currentParentHash, currentGuiElementSpec);
         	// do something with the ancestor list here
         	
Index: /trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/guimodel/JFCComponentTree.java
===================================================================
--- /trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/guimodel/JFCComponentTree.java	(revision 964)
+++ /trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/guimodel/JFCComponentTree.java	(revision 965)
@@ -17,8 +17,6 @@
 import java.util.ArrayList;
 import java.util.HashMap;
-import java.util.HashSet;
 import java.util.List;
 import java.util.Map;
-import java.util.Set;
 
 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIElementFactory;
@@ -48,5 +46,5 @@
      * </p>
      */
-    private Map<Long, JFCGUIElementSpec> guiElementSpecs;
+    private Map<Integer, JFCGUIElementSpec> guiElementSpecs;
 
     /**
@@ -56,5 +54,5 @@
      * </p>
      */
-    private Map<Long, List<JFCGUIElementSpec>> childRelations;
+    private Map<Integer, List<JFCGUIElementSpec>> childRelations;
 
     /**
@@ -64,5 +62,5 @@
      * </p>
      */
-    private Map<Long, JFCGUIElementSpec> parentRelations;
+    private Map<Integer, JFCGUIElementSpec> parentRelations;
 
     /**
@@ -86,5 +84,5 @@
      * </p>
      */
-    private Map<Long, JFCGUIElement> guiElements;
+    private Map<Integer, JFCGUIElement> guiElements;
 
     /**
@@ -94,8 +92,8 @@
      */
     public JFCComponentTree() {
-        guiElementSpecs = new HashMap<Long, JFCGUIElementSpec>();
-        childRelations = new HashMap<Long, List<JFCGUIElementSpec>>();
-        parentRelations = new HashMap<Long, JFCGUIElementSpec>();
-        guiElements = new HashMap<Long, JFCGUIElement>();
+        guiElementSpecs = new HashMap<Integer, JFCGUIElementSpec>();
+        childRelations = new HashMap<Integer, List<JFCGUIElementSpec>>();
+        parentRelations = new HashMap<Integer, JFCGUIElementSpec>();
+        guiElements = new HashMap<Integer, JFCGUIElement>();
     }
 
@@ -105,13 +103,13 @@
      * </p>
      * 
+     * @param componentHash
+     *            hash of the window to be created
      * @param parentHash
      *            hash of the parent window
-     * @param componentHash
-     *            hash of the window to be created
      * @param componentSpec
      * 			  the component specification
      */
-    public void add(Long parentHash,
-                    Long componentHash,
+    public void add(Integer componentHash,
+    				Integer parentHash,
                     JFCGUIElementSpec componentSpec)
     {
@@ -162,5 +160,5 @@
      * @return {@link JFCGUIElementSpec} of the window with the given hash if found, null otherwise
      */
-    public JFCGUIElement find(long hash) {
+    public JFCGUIElement find(int hash) {
         JFCGUIElement guiElement = guiElements.get(hash);
         if (guiElement == null) {
@@ -200,5 +198,5 @@
      *            new name of the GUI element
      */
-    public void setName(long hash, String windowName) {
+    public void setName(int hash, String windowName) {
         JFCGUIElementSpec child = guiElementSpecs.get(hash);
         if (child != null) {
