Update PolyMain.java