| | |
Need Code for To-Do list in java with mysql
![]() |
•
•
Join Date: Aug 2008
Posts: 10
Reputation:
Solved Threads: 0
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
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
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
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
•
•
Join Date: Aug 2008
Posts: 10
Reputation:
Solved Threads: 0
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
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
•
•
•
•
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
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
----------------------------------------------
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
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
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
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.
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.
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
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
![]() |
Similar Threads
- How to Connect MySQL from JSP Page (JSP)
- MS Access vs. MySQL (MS Access and FileMaker Pro)
- upload file using jsp and mysql (JSP)
- I need help with my java servlet homework(edit) (Java)
- Java homework please help! :( (Java)
- mock credit card with mysql & filewriter INSERT into mysql (Java)
- Please help me in connecting JSP to MySql (JSP)
- MySQL drivers not loading? (Java)
- PHP, ASP, ColdFusion, what's your fav? (IT Professionals' Lounge)
- When a host says "included scripts" (Networking Hardware Configuration)
Other Threads in the Java Forum
- Previous Thread: P2P file sharing
- Next Thread: word/line/character count in files
| Thread Tools | Search this Thread |
addball android applet application apps array automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) button card class classes client code collision columns component constructor crashcourse css database designadrawingapplicationusingjavajslider draw eclipse ee error eventlistener exception expand fractal free game givemetehcodez graphics gui guidancer html ide image integration intellij j2me java javaarraylist javadoc javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia jvm linux loan loop method migrate mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle phone physics plazmic print problem program programming project radio scanner server service set sharepoint smart sms smsspam software sql subclass support swing textfield threads tree trolltech unlimited utility windows






