JCodeBase 1.1 Beta
JCodeBase [download ]is a personal portable code repository, its simply your personal code bank , where you can save your own codes that are written in any programming language and take it with you to any machine that support java to search within your own codes. The specialty of JCodeBase is that it uses java and derby db (yeah I did code it before java 6 and java DB) so it can work every where. Another specialty is syntax coloring also.
This is one of my very first really usable softwares I have done in collage and just 3 months before now I have put it as open source project on source forge but it had lots of bugs, and there was no explanation on how to use the application.
The bugs I was reported about has been cleared and In this blog I hope I can demonstrate how to use the application.
You can run the application from your flash disk on any computer by running JCodeBase.jar, well if you don’t like to run .jar files and you are on windows you can click on JCodeBase.bat and you will get this screen:
As a first time user there is nothing you can do in this screen other than pressing “Add Code” button.
By pressing this button you will get another screen to add one of your codes that you need to remember.
Here lets add something useful, one of my colleges has a problem dealing with JComboBoxs in java he puts its data source a Vector of strings but he always forget how to update the Jcombobox if the string vector is updated. Well its simple lets add that code.
Now you can see some key words in the code is bold, well it happens depending on what language you are using it support some languages and the syntax colorizing changes from a language to another.
Also not the tags used in this screen (java, combobox, update)
Now lets click on “Add” and close this screen
In the main screen now we can see our tags in the select tags combo box
Well lets say I want to remember a code I have added to the application with a tag java
I just select this tag and click on search , then it will show me the result
For sure it will be usefull if you add all your important codes and when you come back after few months (most probably you have forgetten something ) then this application will come to the rescue. ( and the best thing it is portable , it can be stored easily with in your flash desk with you any where and run on any platform thanks to java and derby).
I really need to know what do you think about this application , is it useful should I continue to work on it, or is it waste of time,
If I should continue working on it what modifications do you really need.
Related posts:


The UI needs some tweaking.
I was looking for something to keep my snippets of code with. So it would be useful to me. Does it only handle Java?
hello there thanks for your comment hope you will be able explain more about the UI tweaks you talked about so we can do it.
and no it doesn’t handle only java, you can save any kind of code easily
and the syntax coloring handles the following languages:
Java,
C,
C++,
BatchFile,
HTML,
perl,
php,
plsql,
python,
sql,
xml.
Online code storages like http://snippets.dzone.com/ are better, really. Accessible from anywhere, store not only yours code, searchable/taggable/shareable with everybody and all like that.
This is the tool that i need!. But evgeniy has reason when he say that is necesary a server repository. I was thinking the same but using flex (and of course java) for the UI and using a little database but in a server (no in a flash drive). I really want to help you because this proyect promises much and its very useful.
My email is ricdex@gmail.com if you need more help. see ya!
ps: sorry my bad english, i’m peruvian =)
hi Evgeniy thanks
i really didnt knew dzone have this code snippets application
yeah i agree it is greate
actually i was thinking that after the current JCodeBase get stable and no more bugs are there, i would start making another online version of it. thanks alot of your valuable comment
hi Rickardo Avila
thanks for your comment
and yes we really would need your help to create the online version of this application i will email you in a day or two after talking with my friend who helped me in this project
Where is the source code?
The files are all .class files
you can get the source code from the CVS currently
What I really like about the application is you can specify what you would like to search for to get what you want. I like the priority given as I could specify the tags I want for my code. Cool stuff.
I discovered this site by mistake when I had been going through Bing
Nice Mr. Ali
Thanks Mr. Raid
wouldn’t it be more easier adding comments within the code, and later you can go through it searching for keywords?
your compailar would have a search press.
example:
code:
//REMEMBER: ……//
but i think in case of having lot of files, your idea is handy.