Need Code for To-Do list in java with mysql

Reply

Join Date: Aug 2008
Posts: 10
Reputation: kevinpeterson22 has a little shameless behaviour in the past 
Solved Threads: 0
kevinpeterson22 kevinpeterson22 is offline Offline
Newbie Poster

Need Code for To-Do list in java with mysql

 
-1
  #1
Sep 2nd, 2008
Hi

I am new to java and j2ee

Can anyone send me the code for to-do list creation in java swings and mysql DB

i want to create a to-do list in jsp .

and i feel that if i modify the code from java swings to jsp then i will get a new exp from yourside

for this exp i have to change my mistake in coding part

so i need the code (to create to-do list with java swings and mysql DB)



Regards
Kevin
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 1,525
Reputation: javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light 
Solved Threads: 209
Featured Poster
javaAddict's Avatar
javaAddict javaAddict is offline Offline
Posting Virtuoso

Re: Need Code for To-Do list in java with mysql

 
0
  #2
Sep 2nd, 2008
JSPs have nothing to do swing. (That was my first mistake). Meaning that you cannot modify your code to convert swing to JSP.
The only thing you can keep the same are the classes. Everything that is GUI related has to go. Which is why we don't implement too much code in the class that displays the GUI and we use methods from other classes.
If you have already done this in swing I hope that you have kept the reading and writing to the database in separate classes so you can reuse them.

Start by learning HTML, in order to create the GUI:
http://w3schools.com/

Then download an IDE like: Netbeans

As for mySql, you can look for tutorials at the internet or examples in this forum
Check out my New Bike at my Public Profile at the "About Me" tab
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 10
Reputation: kevinpeterson22 has a little shameless behaviour in the past 
Solved Threads: 0
kevinpeterson22 kevinpeterson22 is offline Offline
Newbie Poster

Re: Need Code for To-Do list in java with mysql

 
0
  #3
Sep 2nd, 2008
Hi

Thanks for the reply to this mail.

i have written the code for to-do list(java swings) and it is stored in the file (data.dat)

but i want to-do list stored in mysql database, for this how can i achieve.

if i send this code to you, then can you alter the code to store the data in MYSQL instead of storing file.

coz if you change the change the code to stored in mysql Db then hereafter i can get an idea from you

Regards
Kevin


Originally Posted by javaAddict View Post
JSPs have nothing to do swing. (That was my first mistake). Meaning that you cannot modify your code to convert swing to JSP.
The only thing you can keep the same are the classes. Everything that is GUI related has to go. Which is why we don't implement too much code in the class that displays the GUI and we use methods from other classes.
If you have already done this in swing I hope that you have kept the reading and writing to the database in separate classes so you can reuse them.

Start by learning HTML, in order to create the GUI:
http://w3schools.com/

Then download an IDE like: Netbeans

As for mySql, you can look for tutorials at the internet or examples in this forum
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,281
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 243
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: Need Code for To-Do list in java with mysql

 
0
  #4
Sep 2nd, 2008
See, javaAddict. That's all this guy is looking for, a free ride.
Last edited by masijade; Sep 2nd, 2008 at 6:15 am.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,118
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 471
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Need Code for To-Do list in java with mysql

 
0
  #5
Sep 2nd, 2008
Java Sun website, JDBC(TM) Database Access
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Need Code for To-Do list in java with mysql

 
0
  #6
Sep 2nd, 2008
step 1: read the community guidelines
step 2: tell your teacher that because of your laziness you're not going to get your assignment done in time
step 3: learn Java, you now have an extra year to do so after you were failed for the course.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 1,525
Reputation: javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light javaAddict is a glorious beacon of light 
Solved Threads: 209
Featured Poster
javaAddict's Avatar
javaAddict javaAddict is offline Offline
Posting Virtuoso

Re: Need Code for To-Do list in java with mysql

 
0
  #7
Sep 2nd, 2008
Follow the link I gave you for html and peter_budo's link for JDBC.

I would suggest first to get familiar with JDBC and design your database. (download mySQL server and some tutorials about creating tables and schemas. perhaps peter_budo's link will help)

And after you are done with html try to learn JPS. If you get familiar with the terms: "request" and "response" you will have no problem
Check out my New Bike at my Public Profile at the "About Me" tab
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC