Inventory inv = Bukkit.createInventory(player, yourSize, "My Inventory Name");

Read more of this post