How to create a new window

So I've made a new window script called Window_BattleVictory, and I can't get it to show up at the end of a battle. I've looked at the other scripts, and they seem to make windows just by calling *the name of the window*.new

I've done that in the process_victory method in BattleManager, but the window won't show.  Is there any other way to make the window appear?

This is the script, there are some variables that I've defined (namely, actor.true_exp), and the x and y values are just experimental, I planned on changing them based on what they looked like in gameplay, but I can't see that because of this problem

#==============================================================================# ** Window_BattleVictory#------------------------------------------------------------------------------# This window displays how much EXP and JP you get after a battle#==============================================================================class Window_BattleVictory < Window_Base #-------------------------------------------------------------------------- # * Initialize #-------------------------------------------------------------------------- def initialize super(0,0,window_width, window_height) end #-------------------------------------------------------------------------- # * Get Window Width #-------------------------------------------------------------------------- def window_width Graphics.width end #-------------------------------------------------------------------------- # * Get Window Height #-------------------------------------------------------------------------- def window_height fitting_height(visible_line_number) end #-------------------------------------------------------------------------- # * Display the true exp gauges #-------------------------------------------------------------------------- def true_exp_gauges y = 0 $game_party.battle_members.each do |actor| draw_gauge(0,y,100,exp_gauge_rate(actor) ,text_color(24), text_color(15)) y += 30 end end #-------------------------------------------------------------------------- # * Get the rate for gauges for each actors true EXP #-------------------------------------------------------------------------- def exp_gauge_rate(actor) the_actor = $game_party.battle_members[actor] return (the_actor.true_exp - the_actor.true_exp_for_level(actor.true_level - 1)) / the_actor.true_exp_for_level(the_actor.true_level) endendThanks for any help.  As you might be able to detect by the script, I'm new to scripting.  This is the first time I've dealt with windows, so there are probably things wrong in my code

Original thread: https://forums.rpgmakerweb.com/threads/how-to-create-a-new-window.54119/