Okay so I did search this question and a decent amount of results showed up. All of them seemed to have pretty different scenarios though and the solutions were different for ea
I dont see where your declaring the Driver class in your code.
Driver foo = new Driver(); foo.displayEditParty(playerParty, tempEnemy);