super("Table Chart"); setSize(300,200); TableChart tc = new TableChart(tm); getContentPane().add(tc, BorderLayout.CENTER); // Use the next line to turn on tooltips: ToolTipManager.sharedInstance().registerComponent(tc);