public VariableFrame(int x, int y, int width, int hight) {
        this.setName("Variable");
        this.setBounds(x, y, width, hight);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setLayout(null);

        JTable popis = new JTable(1, 2);
        popis.setValueAt("Variable", 0, 0);
        popis.setValueAt("Value", 0, 1);
        popis.setBounds(0, 0, width, 20);
        popis.enable(false);
        this.add(popis);

        table.setBounds(0, 20, width, 470);      
        this.add(popis);
        this.add(table);     
        this.setVisible(true);
        this.pack();
    }