String text1; JLabel table; text1="<html> <table border=1><tr><th>Programming Language</th><th> Developed By</th></tr><tr><td>C</td><td>Dennis Richie</td></tr><tr><td>C++</td><td>BJourne Stroustrup</td></tr><tr><td>Java</td><td>AT & T lab</td></tr></table>"; this.add(upperPanel); this.add(lowerPanel); upperPanel.add(table); upperPanel.add(list); lowerPanel.add(button3); lowerPanel.add(button2); this.setSize(600,250); this.setVisible(true); this.setDefaultCloseOperation(EXIT_ON_CLOSE);