This code compiles, I just can\'t get the name to change on the title bar.
import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt
these methods can help setTitle("your new title"); or super("your new title");