Swing template code for framework project GUI