Update RockWindow.java

Changed the way info is received. No longer in main class, now moved to onFrame()