Java swing application demo