Fix the DisplayApplet function definition