CheckBox menu item Decrypt

Discussion in 'Java' started by dsptl, Mar 30, 2010.

  1. dsptl

    dsptl New Member

    Joined:
    Jun 14, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    I am working on a project and part of ask for:

    * add a CheckBox menu item Decrypt which can be checked for decrypt or unchecked for Encrypt. This item should be tied to the toggle button in the GUI. Both should reflect the current status of encrypting/decrypting in the application

    which is I not sure how to begin with
     
  2. satyedra pal

    satyedra pal New Member

    Joined:
    Mar 26, 2010
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    0
    Check box in java have following
    Checkbox();
    It has no label
    Checkbox(String str)
    Here string is the label as description of checkbox
    Checkbox(string str boolean true/false)
    This is a checkbox with its description with checked or unchecked status.
    Checkbox(string str,CheckboxGroup null, boolean true/false)
    For coding these:
    public calss checkboxclss extends Applet
    {
    public void init()
    {
    Checkbox cbox=new Checkbox(string male,boolean true)
    add(cbox);
    }
    }
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice