Basic Window Template for swing