ATU COMPUTER SCIENCE FORUM

Hi, Welcome to ATU Computer Science Forum.
Register to enjoy all services.
Thanks

Join the forum, it's quick and easy

ATU COMPUTER SCIENCE FORUM

Hi, Welcome to ATU Computer Science Forum.
Register to enjoy all services.
Thanks

ATU COMPUTER SCIENCE FORUM

Would you like to react to this message? Create an account in a few clicks or log in to continue.
ATU COMPUTER SCIENCE FORUM

MAKE YOUR IT AND OTHER PRESSING MATTERS CONCERNING THE DEPARTMENT KNOWN TO US.

Latest topics

» Programming Tutorial
Programming Tutorial EmptySun Nov 27, 2016 1:02 pm by Admin

» ACADEMIC HELP !
Programming Tutorial EmptyTue Nov 22, 2016 3:37 pm by Admin

» COMPSSA TRENDING ISSUES
Programming Tutorial EmptySun Nov 13, 2016 11:14 am by Admin


    Programming Tutorial

    Admin
    Admin
    Admin


    Posts : 37
    Join date : 2015-11-27
    Age : 39
    Location : Nsawam

    Programming Tutorial Empty Programming Tutorial

    Post by Admin Sun Nov 27, 2016 1:02 pm

    after designing the form....

    the event handler for the submit jtextfield..

    Note: this is for only firstname so do the rest..

    private void subKeyReleased(java.awt.event.KeyEvent evt) {    
                               
          String operation = sub.getText();
           String opt = operation.toLowerCase();
           if("submit".equals(opt)){
         
           String fN = fn.getText();
           this.fn.setVisible(false);
           this.fnlab.setText(fN);

    }

      Current date/time is Sat Apr 27, 2024 2:14 pm