Ciao e grazie della risposta.
Ho provato ma il frame che si apre è vuoto.

codice:
	static JLabel endLbl;
    static JPanel btnPanel = new JPanel();        
    
	public Calc() {
        
		btnPanel.setLayout(new GridLayout(3,3));
        
        for(int i = 0; i < btn.length; i++) {
            btn[i] = new JButton();
            
			btnPanel.add(btn[i]);  
        }
        
        btnPanel.setVisible(true);        
        getContentPane().add(btnPanel, BorderLayout.CENTER);
        
        
		endLbl = new JLabel("StatusBar");        
        getContentPane().add(endLbl, BorderLayout.PAGE_END);
    }