WindowSample.java