CheckBox menu item Decrypt

dsptl's Avatar, Join Date: Jun 2009
Light Poster
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
satyedra pal's Avatar, Join Date: Mar 2010
Check box in java have following
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)