Quick Search for:  in language:    
AWT,Database,Application,program,will,genetra
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Java/ Javascript Stats

 Code: 220,465. lines
 Jobs: 92. postings

 How to support the site

 
Sponsored by:

 
You are in:
 
Login





Latest Code Ticker for Java/ Javascript.
Click here to see a screenshot of this code!vok - The vocabulary trainer
By Thorsten Stärk on 1/7

(Screen Shot)

Java, Calculator
By Rockwell on 1/4


Eatable Interface
By Rockwell on 1/4


Superclass Person
By Rockwell on 1/4


Draws Cube Function
By Rockwell on 1/4


Rectangle Class
By Rockwell on 1/4


Find Number of Upper and Lower Case Letters in a Command Line Argument String
By Rockwell on 1/4


anagrams
By Rockwell on 1/4


Text Reader with Tokenizer
By Rockwell on 1/4


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites



 
 
   

Database Application

Print
Email
 
winzip icon
Submitted on: 2/14/2001 9:25:20 PM
By: Indee  
Level: Intermediate
User Rating: By 14 Users
Compatibility:Java (JDK 1.2)

Users have accessed this code 27898 times.
 

(About the author)
 
     <p>The Database Application program will genetrate a simple user Interface to a Database(employee.mdb).I have used an Access database, it is named "employee.mdb".The program will make extensive use of the java swing components, including Buttons, Tabbed Panes and Label Fields, as well as regular AWT components.Their are three Tabbed buttons.</p>

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 3 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
6/12/2001 8:16:42 AM:Mclee
This file is Can't run ...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/12/2001 9:26:03 AM:Inder Mohan Singh
hi mclee To run this appliation you 
have to follow thw following 
steps.
Click the start button, then 
select Setting, Control Panel. 
Double 
click on the ODBC Data Sources (32 bit) 
icon.
Select the System DSN 
tab.
Click the Add button.
Select 
Microsoft Access Driver (*.mdb) from 
the list and then click on 
Finish.
Complete the details .  The 
Data Source Name is "employee". Click 
on Select and locate the employee.mdb 
file.
Click on OK and then OK 
again
These steps will connect the 
employee database application. Further 
I did this database program using 
Jbuilder4 and JDK1.3. When you are in 
your dos box you have to type java 
database.DatabaseApp to run the program 
'coz the application is under database 
package.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/24/2001 10:59:59 AM:manishp@vsnl.com
please explain how to execute this 
program because even when I wrote java 
DataBaseApp orjava database.DatabaseApp 
,the program is not executed .Kindly 
guide in this regard
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/7/2001 2:20:40 PM:aeshaq
You are missing the main class!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/30/2002 9:00:21 AM:Stefan Lenselink
OK to execute edit the *.java file 
remove the packege and edit the line's 
whith say database.databaseApp.* to 
databaseApp.* (remove the database 
word) then compile and run
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/6/2002 10:15:17 PM:nadeem
ive dne everthing thats said to run the 
code but i still cant get it to run, 
compiler says it cnt find the main 
class, help please
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/6/2002 10:45:51 PM:Indee
compile and then type
java 
database.DatabaseApp.class
to run
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/15/2002 7:48:39 PM:javabeginner
Exception in thread 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/15/2002 7:51:06 PM:javabegginer
i am getting the folllowg err while 
executing it: Exception in thread 
"main" java.lang.NoClassDefFoundError: 
database/DatabaseApp/class
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/16/2002 6:58:00 AM:Indee
compile and then type java 
databaase.DatabaseApp.class to run 
pls 
see the previous user for their 
comment
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/7/2002 12:48:42 PM:Prem
Hi, I am getting error when running the 
program. Error is below in quote:
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/7/2002 12:50:41 PM:Prem
I think the error message was 
truncated..here it 
is..:
"C:\test\classes\database>java 
DatabaseApp
Exception in thread "main" 
java.lang.NoClassDefFoundError: 
DatabaseApp (wrong na
me: 
database/DatabaseApp)"
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/1/2002 5:07:19 PM:Jerry Hamilton
I am getting the same errors as noted 
by the others.  Cannot find the main 
class.  I have edited the .java file 
and recompiled several times and it 
still gives the same error.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/4/2002 11:44:20 AM:Kevin Yue
I've tried it by following the author's 
steps and it ran okay without any 
changes or re-compile. To overcome the 
errors, run the program with the DOS 
prompt at the classes directory and not 
under its sud-directories.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/4/2002 11:45:46 AM:Kevin Yue
I've tried it by following the author's 
steps and it ran okay without any 
changes or re-compile. To overcome the 
errors, run the program with the DOS 
prompt at the "classes" directory and 
not under its sud-directories.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/26/2002 8:24:08 PM:carmen
When I try to insert/update some data 
using the forms, it is not updated to 
the table. Why is this so? and how to 
create single .exe file from this 
application?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/27/2002 9:00:45 AM:KBR
hi! how come when i try to open one of 
the classes in notepad..it shows some 
ascii characters...meaning ,i cant open 
the code well in notepad..what gives???
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/13/2003 6:20:35 AM:
java.lang.NoClassDefFoundError often 
occurs when the java file is saved 
under a different name to the 
class-name. In other words, if the 
class is called xyz, you need to save 
it as xyz.java. Hope this helps in some 
way.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Java/ Javascript Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.