public void handleKeys(KeyEvent arg0){
		if (arg0.getID() == KeyEvent.KEY_PRESSED) {
			if(focusElement != null){
				System.out.println("focus element not null");
				int curRow = focusElement.getRow();
				int curCol = focusElement.getCol();
				
				/*System.out.println("GRID COORD SIZE " + gridCoord.length);
				//GRID COORD PRINTOUT
				for(int i = 0; i < gridCoord.length; i++){
					for(int j = 0; j < gridCoord[i].length; j++){
						if(i * gLayout.getColumns() + j < currList.size()){
							System.out.println("GRID: " + i + " " + j + " " + gridCoord[i][j].getItem().getName());
						}
					}
				}
				System.out.println("CURRENT COORD " + curRow + " " + curCol);*/
				
				try{
					if (arg0.getKeyCode() == KeyEvent.VK_UP) {
						if(gridCoord[curRow - 1][curCol] != null){
							gridCoord[curRow - 1][curCol].setSelect(true);
							System.out.println(gridCoord[curRow - 1][curCol].getItem().getName());
						}
						System.out.println("UP");
					}else if(arg0.getKeyCode() == KeyEvent.VK_DOWN){
						if(gridCoord[curRow + 1][curCol] != null){
							gridCoord[curRow + 1][curCol].setSelect(true);
							System.out.println(gridCoord[curRow + 1][curCol].getItem().getName());
						}
						System.out.println("DOWN");
					}else if(arg0.getKeyCode() == KeyEvent.VK_LEFT){
						if(gridCoord[curRow][curCol - 1] != null){
							gridCoord[curRow][curCol - 1].setSelect(true);
							System.out.println(gridCoord[curRow][curCol - 1].getItem().getName());
						}
						System.out.println("LEFT");
					} else if(arg0.getKeyCode() == KeyEvent.VK_RIGHT){
						if(gridCoord[curRow][curCol + 1] != null){
							gridCoord[curRow][curCol + 1].setSelect(true);
							System.out.println(gridCoord[curRow][curCol + 1].getItem().getName());
						}
						System.out.println("RIGHT");
					} else if(arg0.getKeyCode() == KeyEvent.VK_F){
						gridCoord[curRow][curCol].toggleFavorite();
						Launcher.updateElementConsistency(parent, gridCoord[curRow][curCol]);
						if(parent == Launcher.getFavPanel()){
							System.out.println("REMOVING FAVORITE");
							sortList();
						}
						System.out.println("PRESSED F");
					} else if(arg0.getKeyCode() >= KeyEvent.VK_0 && arg0.getKeyCode() <= KeyEvent.VK_9){
						gridCoord[curRow][curCol].setHotkey(arg0.getKeyChar());
						Launcher.updateElementConsistency(parent, gridCoord[curRow][curCol]);
						System.out.println("PRESSED " + arg0.getKeyChar());
					} else if(arg0.getKeyCode() == KeyEvent.VK_ENTER){
						//EQUIP ITEM
						gridCoord[curRow][curCol].setEquip(EquipLogic.equip(gridCoord[curRow][curCol].getItem(), player));
						Launcher.updateElementConsistency(parent, gridCoord[curRow][curCol]);
					}
				} catch(ArrayIndexOutOfBoundsException e){
					System.out.println("Array index out of bounds");
				}
				
				if(parent instanceof MainPanel){
					Launcher.getMainPanel().setScrollLoc(curRow, arg0);
				} else{
					Launcher.getFavPanel().setScrollLoc(curRow, arg0);
				}
			}
			Launcher.getMainPanel().updatePanels();
        } else if (arg0.getID() == KeyEvent.KEY_RELEASED) {
        } else if (arg0.getID() == KeyEvent.KEY_TYPED) {
        }
	}