How could i fix that error?

hii everybody. i tried to write codes for save , delete , and edit, i wrote all the codes but the codes editting button gives an error.I am going to show you the
codes and i hope you tell me where is the mistake in the edit button.
The codes for save Jbutton, they work properly
protected void save() {
String s=txt.getText();
String x=txtArea.getText();
gui.CatagoryEditorInt cata=new CatagoryEditorInt(s,x);The codes for delete Jbutton and also they work without errors
protected void Delete() {
ProductDA s = new ProductDA();
s.getAll().remove(jlst.getSelectedIndex());
int j=JOptionPane.showConfirmDialog(null, "Are you sure? "+ " ",getTitle(),JOptionPane.YES_NO_OPTION);
if(j==JOptionPane.YES_OPTION);The codes for edit Jbutton, here was the problem, the codes didn't edit the text,
CatagoryDA s = new CatagoryDA();
s.getAll().add(jlst.getSelectedIndex());
String w=CatagoryEditor.txt.getText();
String z=CatagoryEditor.txtArea.getText();
CatagoryEditorInt d=new CatagoryEditorInt(w,z);
(jlst.getSelectedValue());
(jlst.getSelectedValue());Tell me why the edit code doesn't work?
Thanks in advance

Please provide details of the error.
For example, if your compilation fails the compiler will emit error messages. Paste these into the forums.
If you have a runtime error message you may still have error messages; if so paste these in.
If your program fails at runtime but without error messages you will need to provide:
1. A description of the actual behaviour of your program.
2. A description of the expected behaviour of your program.
3. An explanation of why you believe that (1) is incorrect.
Please also read the following link before posting further threads:
[http://www.catb.org/~esr/faqs/smart-questions.html|http://www.catb.org/~esr/faqs/smart-questions.html]

Similar Messages

Maybe you are looking for

  • How to get User Id in Web dynpro application

    Hi Experts, I am running web dynpro application with authentication checkbox set. I want to display user id of the user in my application. I am using following code in Init method of component controller. IWDClientUser wdUser = WDClientUser.getCurren

  • File upload, download using ADF UIX and not JSP

    I have examples for the file upload, download using JSP But I want to use ADF UIX. Look and feel in this is impressing and I want to use this. Any one have example for this. Users will select a file from their desktop This will be stored into the dat

  • Database Links not generated

    In OWB 9i, the database links are not generated as part of the mapping anymore. My problem is that I create a new source module and then a mapping using this source module, but it does not generate the code for the database link. When I deploy the ma

  • Query problem with multiple date fields.

    I need to select the greatest date from six different fields in each record and identify from which column was selected. date01 date02 date03 date04 date05 date06 010190 010107 010190 010190 010190 010190 010190 010190 010105 010190 010190 010190 010

  • OSX 8.2 new Retina Macbook Pro won't wake from sleep.

    Since upgrade to OSX 8.2 new Retina Macbook Pro won't wake from sleep. Tablet lights are on in morning and fans running like crazy, but it requires hard quit and start. Tried with no apps running, no change. It was fine before this last update. Wasn'