Fully Functional Credit Management System using JavaSE - Source Code Attached


Here is my latest project. Its a Credit Management System using JavaSE.

For this project I have used Jasper IReports for the reporting part. And other look and feel components as well.

Full free open source coding can be found in git :
https://github.com/harshadura/LankaFuelMartCRM


PROJECT SPECIFICATION

Main Functions List

Credit Slip Operations

 Attributes > Company | Description of item| Qty | Amount | Vehicle No | Shift
 Deposit, Credit Limit as Necessary (Private/Government)
 Alert when Entering Data/Checking
 Functions > Add | Delete | Search | Update
 Reports > Daily Report | Monthly Report
 Additional Notes : Customer Limit Checker UI > have to Check before fuel Pumping (checks whether the customer has exceeded the Credit limit already)

Credit Card Operations (Visa)


 Attributes > Credit Card Number | Credit card type | Amount | Vehicle No
 Functions > Add | Delete | Search | Update
 Reports > Daily Report | Monthly Report


Customer Details Table

 Attributes > ID | Customer Name | Address | Contact Number
 Functions > Add | Delete | Search | Update

Product details List

 Attributes > ID | Name | Price
 Functions > Add | Delete | Search | Update
 Additional Notes > Configurable Prices
 Shifts > 6-2 | 2-10 | 10-6

Report Generation and Reporting Tools

Table Attributes > NO | Date | Order No | Description | Vehicle No | Qty | Rate | Amount
 Daily Reports
 Monthly Reports



############################################
README - Lanka Fuel Mart CRM System
############################################

@author      : Harsha Siriwardena     <harshadura@gmail.com>
@copyrights : Durapix.org           <http://www.durapix.org>
@license     : GNU GPL v3             <http://www.gnu.org/licenses/>

---------------------------
Required Software
---------------------------

(01)    Java 1.6
(02)    Mysql Server 5.1

---------------------------
Deploying the System
---------------------------

>   start mysql server

>   source the database schema. (db_dump.sql)
        mysql> source <path>/db_dump.sql

>   Using command line, go Inside of System project folder.

>   Run the Main System Jar found in <project>/dist/LankaFuelMart.jar


-------------------------------------------
3rd Party Tools Used
-------------------------------------------
(01)    Jasper Reporting
(02)    Synthetica LAF (removed and inserted the System look and feel instead)

-------------------------------------------
Troubleshoot
-------------------------------------------
If an error occured like this "Java.lang.ClassNotFoundException:"
Copy the Nessasary JARs into below folders and Restart the Application.

Linux
----- 
\jre\lib
\jre\lib\ext


Setting Synthetica Look and Feel theme to a Java Swing Application






This is simple Video Tutorial I have done to Connect Synthetica Look and Feel theme to a Java Swing Application. If you guyz interested in making your java Swing GUI looks so amazing just give this a try!

You can find the full version jars here : http://www.mediafire.com/?lu4zpqs7sji2d1q









නිල් සද මඩල - Centigradz - Lyrics - සිංහල ගී පද



මේ දවස්වල ගොඩක් අහන ආසම කරන සිංදුවක් මේක.. හරිම ආසයි මේ සිංදුවට මම... :)
[thanks DJ Grank for point out me this Song..]
 නිල් සද මඩල - Centigradz




තනි රැක්ක තනි රෝස මල් කල්පනා 
විහිදෙන්න පොපියන්න සුවදක් වෙලා 
නෙත් එක්ක හුවමාරු කල දුක් කතා
හිත් දෙකක හැප්පෙද්දි එක හිතක් වෙලා

කන්තාරුවක රිද්මේ රැදී 
ගී පිරිතක් විදියි ජීවිතේ 
නිල් සද මඩලෙ පලසේ එබේ
ඔබෙ ආදරය පින්තාරුවේ

ඔබ නිදනා තුරු පපුතුරේ 
සුවද එබෙයි සුසුමට මගේ 
කදුලෙන් කදුලට ජීවිතේ 
හුස්ම වැටෙයි පරමාදරේ //

කොටස් වෙලදපොලේ වෙච්චි හුටපටේ..



අනෙ අම්මේ දැන් නම් කොටස් වෙලදපොලත් ඇති වගෙ...නරකමත් නැහැ ඒත් ටිකක් අවධානම් කියල හිතෙනව.. විශේෂයෙන් සල්ලිකාරයො නොවන අපි වගෙ අයට..
රු.5000ක් දාල මොන ශෙයා මාකට්ද බං..ලොල්.. දැන් තමයි සීන් එක තේරුනේ.. මේක ඉතිං තීන සොච්චමටත් කෙලවෙන සීන් එකක් කියල. ඇයි යකො ගත්තත් 1.5% ගානක් ඌට වික්කත් 1.5% ගානක් (අපි කරන හැම ගණුදෙනුවකදිම කොමිස් කැපෙනව බාං). අපිට ඉතිං අතින් කයිට්.. සිරාවට දැනටම රු.500ක් විතර කෙලවුණා.. අනෙ අම්මෙ මේක නම් හරියන සෙල්ලමක් නෙවෙයි වගෙ.. ශේප් එකෙ ඔය ගත්ත මගුල් ටික විකුණල දාල සල්ලි ටික බේර ගත්තොත් හොදා... හික්..හික්.. අවුලක් නෑ මේකෙනුත් යමක් ඉගෙන ගත්තනෙ.. සියළු සංස්කාර නැසෙන සුලුයි නොපමාව කුසල් දහම්හි යෙදෙන්න... කොටස් වෙලදපොල යනු එක්තරා ආකාරයක සූදුවෙකි.. සුදූවෙන් මුදල් ඉපයීමට ගොස් අලුත් දේවල් ලබා ගැනීම කෙසේ වෙතත් තිබෙන දේ නැති වෙන්න පවතින ඉඩ කඩ වැඩි බව මෙයින්ද මොනවට පැහැදිලි වුණි...  මේකයි සල්ලි කාරයෙක්ට නම් නරකමත් නැහැ මේක.. බට් වියදම් කරන්න බැරි එකෙක් නම්  තීන චුට්ටත් නැති වෙන සෙල්ලමක් මේක.. කට්ටිය ට්‍රියි එක් දාල බලන්න.. කෝකටත් දැන ගෙන තියාගන්න එක හොදයිනෙ... අපි ගියා.. ජයවේවා! xD


අන්තරජාලය හරහා ගෙදර ඉදන්ම කොටස් වෙලදපොල වැඩ කටයුතු කලහැකි Direct FN TWS මෘදුකාංගය තමයි මේ..




Problem with Blogger Pages - Pages gadget not visible - (Solved)

Missing "already added" Pages Gadget 



KCoxDC
Level 1
8/6/11
Short description of problem:Trying to add the "pages" gadget.  System claims it's "already added" but no sign of it.

Blog Address
: http://www.your-critic.com
Browsers: Firefox 5, IE8
Location: Washington, DC (USA)

Long description of problem:

I've never had separate pages on my blog before but I decided to add some.  The template off of which my blog is based (Awesome, Inc) includes a space for tabs / pages links.  According to the layout tools, I already have the pages gadget added but it's not showing up anywhere.  I even double-checked all of the tool / gadget spaces I have on my blog to be sure it wasn't just hiding as something else, or that I hadn't mangled it to be something it isn't.

The only suggestion I've seen for similar issues with the archives, followers, and "about me" gadgets is basically to scrap 100% of customizations and revert to default.  I'll do that if I really, really have to, but I've got a lot of customizations and have spent a lot of time making it all look just so and so I'd rather not nuke it from orbit if that can be avoided.

Best answers

KCoxDC
Level 1
8/23/11
Popular answer Go to this answer
@ihatefindinganame --

Absolutely!

If you go to draft.blogger.com (which matches the new Google+ look, and may take some getting used to), then click your blog's name, you'll see a bunch of settings and an overview.

Down the left-hand side of the page, there's a "pages" option.  Select it.  You can edit, delete, and shift pages around under that interface.  For me, it worked perfectly even though I was having the missing gadget issue under the standard Blogger interface.
8 of 8 people found this answer helpful. Did you?
Report abuse

Replies 1 - 9 of 9

Adam's Apples
Level 11
8/6/11
What happens if you delete the nonexistent gadget?

What happens if you add another one?
0 of 1 people found this answer helpful. Did you?
Report abuse
KCoxDC
Level 1
8/6/11
@Adam's Apples: I can't delete it -- it doesn't show up anywhere *to* delete.  And when I try to add it, it says, "already added."

I can add and remove other gadgets but doing so seems to have no effect on making "Pages" visible anywhere.
Did you find this answer helpful?
Report abuse
Adam's Apples
Level 11
8/7/11
You said:

   According to the layout tools, I already have the pages gadget added

May be I do not understand what yo mean by the "Layout tools," but I assumed you meant the stuff at Desing > Page Elements. In which case, open it for editing and delete it.

And/ or: try adding a new one.

What happens if you try these things?
Did you find this answer helpful?
Report abuse
KCoxDC
Level 1
8/7/11
First -- thanks for helping.  :)

Anyway, then:

When I go to Design, then Page Elements -- there is no "Pages" gadget anywhere.  That's what I mean by missing.  It does not show up, it is not there, and none of the gadgets I do have (and there are several) are it.  When I click "add a gadget," the "Pages" gadget claims to be "already added" and so I can't add it.

I can add other gadgets; I picked a few yesterday at random to add and then delete.  I can remove or edit the gadgets I already have in place.  But "Pages" just isn't there.
Did you find this answer helpful?
Report abuse
KCoxDC
Level 1
8/11/11
I managed to resolve this.  The currently-VERY-different draft.blogger.com set of tools (being realigned to match the Google+ initiative) displayed the "pages" option differently from the completely messed up there-but-not-there issues I've been having with the current default Blogger interface.  By using the draft tools I was able to get the widget working, and I can now edit it with the default tools.
Did you find this answer helpful?
Report abuse
ihatefindinganame
Level 1
8/23/11
Kate,
Could you please share how you fixed your pages gadget problem? I have the same problem and I've scoured the forums and the supposed experts are no help at all. They only suggest deleting the old pages gadget and adding a new one. If only it were that simple! Thanks for your time.
Amanda
Did you find this answer helpful?
Report abuse
KCoxDC
Level 1
8/23/11
Popular answer
@ihatefindinganame --

Absolutely!

If you go to draft.blogger.com (which matches the new Google+ look, and may take some getting used to), then click your blog's name, you'll see a bunch of settings and an overview.

Down the left-hand side of the page, there's a "pages" option.  Select it.  You can edit, delete, and shift pages around under that interface.  For me, it worked perfectly even though I was having the missing gadget issue under the standard Blogger interface.
8 of 8 people found this answer helpful. Did you?
Report abuse
LearningLark
Level 1
8/25/11
Check out the "pages" link on the left-hand sidebar and make sure that the "show pages as" option is turned on.
3 of 3 people found this answer helpful. Did you?
Report abuse
Jason Reddy
Level 1
9/7/11
Learning Lark,

Thanks so much your comment made me feel very stupid (because I didn't see it), but worked.

Thanks again!
1 of 1 people found this answer helpful. Did you?
Report abuse

ref : http://www.google.com/support/forum/p/blogger/thread?tid=191ea4c218de6ce5&hl=en

 

The wrong question: “I want to learn to code, what should I do?”

If you want to learn to code and build stuff and you’re starting by asking someone else what you should do, you’re already thinking about it the wrong way. Immediately, right now, with no preparation, in the blink of an eye, you can take a huge step toward your goal by realizing that you don’t need an answer to your question. You can do it all by yourself. Everything you need is waiting for you. Go get it. No one can stop you. Ready?
Go to Google and start asking questions. You want to make a webpage? Ask. You want to know what the different coding languages are and which you should learn? Ask. You’ve started building stuff, and now you want to know how to add a border, change the color, add a form, fix an error, install software, host a website? Ask. The answer to every question is out there. Engineers know that better than anyone. Even the best engineers ask Google questions all the time. The biggest difference between you and an engineer is the mindset.
After you have the right mindset, here is how the execution will go:
You start asking Google questions, which leads you to all sorts of resources on StackExchange and Quora and a million blogs and other websites. You find twelve tutorials on HTML and nine on CSS, and you bounce around between them to find the best ones. You do several of them, including some of these and these. You download a free text editor, maybe Eclipse, or you find one already waiting on your computer. You make a couple simple web pages, and while doing that, you realize that every answer really is on the internet.
You want to add cool features to your website. Google tells you how to make a button change colors when your mouse hovers over it. You realize the power of CSS and you start watching these videos. You want to click on your color-changing button and have part of the page change without going to a completely new page, so you ask Google and realize you should learn the basics of Javascript and jQuery. You find tutorials and you can soon write simple code that produces magical results.
You want to supplement your solitary learning with human contact so you join the community by following the blogs and Twitters of designers and engineers, and going to Meetups.
You buy a Mac because you’re embarrassed that you ever used anything else. You continue to build momentum, and you start researching engineering jobs. You realize that your front end skills are coming along, but you want to be the complete package, so you figure out that Ruby on Rails is the way to go, you find this, this, and this, and you watch these, and you learn it!
You’re now building stuff and you are completely confident that anything you want to do, you can figure it out without having to ask someone. And no one can stop you!
You’re so grateful for all the resources that are available for free that you want to contribute, so you start your own blog about building websites, you Tweet about it, and you put your code on Github for everyone to use and learn from.
You’re done.
This difference in mindset of “Who is going to stop me?” versus “How do I do that?” applies to learning and life in so many ways. Get in the mindset that you can do it yourself, whatever it is, if you just dedicate yourself to doing it. You’ll be shocked by how much you can learn and how far you’ll get. That mindset separates people who do from people who don’t.
“Leaders are not, as we are often led to think, people who go along with huge crowds following them. Leaders are people who go their own way without caring, or even looking to see, whether anyone is following them. ‘Leadership qualities’ are not the qualities that enable people to attract followers, but those that enable them to do without them. They include, at the very least, courage, endurance, patience, humor, flexibility, resourcefulness, stubbornness, a keen sense of reality, and the ability to keep a cool and clear head, even when things are going badly. True leaders, in short, do not make people into followers, but into other leaders.”
- John Holt*
In conclusion, to answer your question: “I want to learn to code, what do I do?”
Learn to code.