• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Need help about delete data

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,i need help..I use a JList to display data from mysql data..When i delete the data from the JList,it doesn't display the way i hope..Here are the codes i've made and the sql for the tables..I got data about usrname,menu and description.When the admin add user,the menu will be saved instead of description.And when the admin want to edit the authorization,the JList will display the description instead of the menu.Thanks a lot...

The sql file :


the codes :
 
author & internet detective
Posts: 42160
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yesaya,
It doesn't delete from where? The database or the JList?

When you debugged this, what did you learn? In particular, at what line did something different happen than you expected?
 
yesaya handoyo
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne,sorry..I found out the problem.I don't need to use the ChangeMenu()..Thanks a lot..And sorry..
 
reply
    Bookmark Topic Watch Topic
  • New Topic