ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Vertical Text in Java
Subject:   JFrame never exits
Date:   2008-07-07 09:17:08
From:   eaolson
I just wanted to point out that the Test.java application leaves the JFrame running even after closing the window. I'd suggest adding fr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); to make sure the JFrame exit when the window is closed.