@Override
    public void actionPerformed(ActionEvent e) {
        if (e.getSource() == kuldesGomb) {
            kuldes();
        } else if (e.getSource() == manualisOktatasMenupont) {
            manualisOktatasAblakMegnyitas();
        } else if(e.getSource() == mentesMenupont){
            tudastarMentese();
        } else if(e.getSource() == betoltesMenupont){
            tudastarBeolvasas();
        } else if(e.getSource()==logolMenupont){
            vanlogolas=!vanlogolas;
            if(vanlogolas==true)
                logolMenupont.setText(off);
            else if(vanlogolas==false)
                logolMenupont.setText(on);


        }
    }