My
Education | My
Projects
|
My Family |
My Professional Info |
My Interests |
My City |
Home |
Useful Links & Source Codes |
Contact Me |
More codes will be uploaded
soon.. |
Thanks for showing interest in my
download section. |
|
Contents -- |
1. Useful Links |
2. Java Source Codes |
3. C Source Codes |
|
Useful Links -- |
|
|
|
|
Java source
Codes |
Animation of a Bouncing Ball: |
This code uses thread to animate an image of a
Ball, which moves freely in a rectangle. Given code is implemented by
overriding the paint and update method. But this gives flicker. By
implementing double buffering you can eliminate flicker. |
Demo shows both implementations. |
Animation.java
Demo - Animation.html
|
|
Swing Component Demo: |
This code implements most of the swing components
(JLabel, JTexField, JTabbedPane, JMenu, JMenuItem, JMenuBar, JPanel, JDialog,
GridBagLayout). Also you can change look and feel of this applet to either
"Java" or "Windows". |
SwingDemo.java (more componenets will be
added soon) |
|
Create an SQL query: |
This code creates a SQL query to insert data in
Newspaper table. First you need to load an ODBC Driver called "HRsystem"
(name used from my code, You can give any name) from your control panel. Then
you must have a table Newspaper
with columns Newspaper Code, Newspaper Name, Region, Country Code, Phone.
Then only execute this code. |
InsertData.java
(Method to create an ODBC driver and a table will be updated soon) |
|
|
C
source Codes |
Brain Vita: |
This a game needs modifications. |
Brainvit.c |
|
Electrical equipment control using
PC parallel port - My Third year Project |
This is my third year project. I have used PC
parallel port to take a 5 V signal and switch on the relays. Electrical
equipments can be connected across the relays. |
Proj.c
Mouse.h |
|
|