import javax.swing.*; import java.awt.BorderLayout; public class BinarySearchTreeApp extends JFrame { public BinarySearchTreeApp() { super( "Map Editor" ); setDefaultCloseOperation( EXIT_ON_CLOSE ); BinarySearchTreeView theView = new BinarySearchTreeView(); getContentPane().add( theView, BorderLayout.CENTER ); } public static void main( String[] args ) { BinarySearchTreeApp theApp = new BinarySearchTreeApp(); theApp.pack(); theApp.show(); } }