Update AdvancedWindow.java