public class Proiect extends JApplet { Optiuni optiuni; Suprafata suprafata; Info info; public void init() { getContentPane().setLayout(new BorderLayout(10,10)); getContentPane().add("East",optiuni); getContentPane().add("North",info); getContentPane().add("Center",suprafata); } public static void main(String[] args) { try { UIManager.setLookAndFeel( UIManager.getCrossPlatformLookAndFeelClassName()); } catch (Exception e) { } Proiect proiect = new Proiect(); JFrame fereastra = new JFrame("Proiect AnalizaAlgoritmilor"); proiect.init(); Container content; content = fereastra.getContentPane(); content.add("Center", proiect); fereastra.setSize(800,400); fereastra.setVisible(true); } public Proiect() { optiuni = new Optiuni(this); info = new Info(); suprafata = new Suprafata(this); } }