My final project for uni has finally be completed.
Based on Java Media Framework and with the purpose of building a cheap and easy use monitoring sytem. After several months coding, it has finally been done. Even though, I still have further plan to make OMS work more professional and optimize its functions.
I will upload OMS site in the future when I have more passion to develop it.
Anyways mission is completed on June 3 rd.
And along with its completion, my university life is over.
Tuesday, June 17, 2008
Tuesday, June 3, 2008
Java Socket programming practice
Tuesday, May 20, 2008
Java Calculator
This is definitely the ugliest calculator ever.
I was just starting learning Java when I did this program.
It is consisting of simple java buttons with images and a panel to display results.
By that time, we were mainly practising Object Oritented Programming.
So this program is GUI and Arithmetical Functions are separated classes.
and it is a good and trouble thing about java.
Wednesday, May 14, 2008
Tic-Tac-Toe (C++)
Sunday, April 27, 2008
Mary's Lamb
This java program's name is "Mary's Lamb".
Mary is a worker who needs to know everyday's weather before she goes to work.
Lamb is weather information.
Mary's Lamb retrieves weather information from a web service site and display on its panel.
This is a simple program,but I think this kinda of program is useful for our daily life..
At least good for Mary.

Mary is a worker who needs to know everyday's weather before she goes to work.
Lamb is weather information.
Mary's Lamb retrieves weather information from a web service site and display on its panel.
This is a simple program,but I think this kinda of program is useful for our daily life..
At least good for Mary.
Saturday, April 12, 2008
GUI for VS
This is the ugly interface of the voting system.
One student pointed out that the there is a rectangle on the button after clicking, which leaves a hint of previous vote. It is a good point, I think we could recovery this by putting a image on the button. I believe many other solutions are there. May add more methods later.
Sunday, April 6, 2008
Linked List + Dynamic Array = Linear Hashing
Recently, regarding to an assignment.
I built a linear hashing program in C++ which takes a serial of numbers,the bucket size and the initial size of the array.And It will put all numbers into the proper bucket based on linear hashing algorithm.
I had a good time while building this program, because I had a chance to practise how to use Linked List and Dynamic Array properly. and I found out something needed to be noticed and becareful with these two structure. because in C++, they are all implemented by point. so I always have to take care of that , and delete them after using.
It is a good program though, because I save a lot of time when next I need to do linear hashing calculation.hehehe...
I will upload this program soon after I submit it.
I built a linear hashing program in C++ which takes a serial of numbers,the bucket size and the initial size of the array.And It will put all numbers into the proper bucket based on linear hashing algorithm.
I had a good time while building this program, because I had a chance to practise how to use Linked List and Dynamic Array properly. and I found out something needed to be noticed and becareful with these two structure. because in C++, they are all implemented by point. so I always have to take care of that , and delete them after using.
It is a good program though, because I save a lot of time when next I need to do linear hashing calculation.hehehe...
I will upload this program soon after I submit it.
Friday, March 28, 2008
JCU IEEE president 2008 voting system
Today I was doing a voting system, for this IEEE president election in JCU singapore.
Actually I am not very familiar with Java Swing programming, so by this chance, I have done some reading of Swing.
Basically, GUI for an application is just a skin, never be the core. but I have to say it is also very time consuming for GUI programming. for this voting system, I spent more time on GUI than the actual voting algorithm.
At the end, I found what was really annoying me is the layout manager, in order to make my desired layout of all my elements, I have tried all kind of layout managers, such as FlowLayout,GridLayout,BoxLayout and so on. Luckily finally I made my elements there..hehehe, so for GUI programming, what is really important is how much experience of the Classes you have known. . .
I will upload the ugly picture of the Voting System once I have completed. . .
I have to say, I am really bad on designing..heheheh
Actually I am not very familiar with Java Swing programming, so by this chance, I have done some reading of Swing.
Basically, GUI for an application is just a skin, never be the core. but I have to say it is also very time consuming for GUI programming. for this voting system, I spent more time on GUI than the actual voting algorithm.
At the end, I found what was really annoying me is the layout manager, in order to make my desired layout of all my elements, I have tried all kind of layout managers, such as FlowLayout,GridLayout,BoxLayout and so on. Luckily finally I made my elements there..hehehe, so for GUI programming, what is really important is how much experience of the Classes you have known. . .
I will upload the ugly picture of the Voting System once I have completed. . .
I have to say, I am really bad on designing..heheheh
Wednesday, March 26, 2008
JMF progress
I started this JMF project 4 weeks ago.
Basically, it is about remote controlling webcam.
The first thing I am doing now is to implement the transmitting of the vedio from one PC to another.
It is always difficult to do one thing at the begining stage.
The first problem I encountered was that the video did not show where there was no error in the program itself at all. At the end, I figured it out, the reason was that I did not add visual components to the class I created.
the significant code was
"this.add(player.getVisualComponent());
this.add(player.getControlPanelComponent());
"
The second problem I encountered was that the video I transimitted from the server can not be displayed in client side. Actually I was testing this in my local machine, (since I have only one PC), it was sloved at the end, the reason was that in client side, I did not initialize the local address probably, the significant code was:
"SessionAddress localaddr = new SessionAddress(InetAddress.getLocalHost(),3000);"
where you can see "InetAddress.getLocalHost()".
then I did "mymgr.initialize(localaddr);"
Now there are still a lot of errors waiting for me to slove,
but at least I get started, and it was working in the sense of transimitting. cheers.
And Hope my little experience would help ppl who are working on similar projects.
Basically, it is about remote controlling webcam.
The first thing I am doing now is to implement the transmitting of the vedio from one PC to another.
It is always difficult to do one thing at the begining stage.
The first problem I encountered was that the video did not show where there was no error in the program itself at all. At the end, I figured it out, the reason was that I did not add visual components to the class I created.
the significant code was
"this.add(player.getVisualComponent());
this.add(player.getControlPanelComponent());
"
The second problem I encountered was that the video I transimitted from the server can not be displayed in client side. Actually I was testing this in my local machine, (since I have only one PC), it was sloved at the end, the reason was that in client side, I did not initialize the local address probably, the significant code was:
"SessionAddress localaddr = new SessionAddress(InetAddress.getLocalHost(),3000);"
where you can see "InetAddress.getLocalHost()".
then I did "mymgr.initialize(localaddr);"
Now there are still a lot of errors waiting for me to slove,
but at least I get started, and it was working in the sense of transimitting. cheers.
And Hope my little experience would help ppl who are working on similar projects.
Sunday, March 23, 2008
First Article
After a long time of being away from blog, I finally decided to make a own blog for my technical articles , or I will say some thoughts in Information Technology area.
I am currently studying IT in James Cook University Sinapore , and graduating on June. Since my IT major is General Computing, there is no forcused area in terms of studying. but persoanlly I am more interested in Programming, and have done some freelance work related to web programming.
I wish I could make some friends who have something in common through this blog. so we can share our thoughts , comments in IT field.
I am currently studying IT in James Cook University Sinapore , and graduating on June. Since my IT major is General Computing, there is no forcused area in terms of studying. but persoanlly I am more interested in Programming, and have done some freelance work related to web programming.
I wish I could make some friends who have something in common through this blog. so we can share our thoughts , comments in IT field.
Subscribe to:
Posts (Atom)