• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help about delete data

 
yesaya handoyo
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • 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 :
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35716
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!