hii to all

actually i am 2nd year enginnering student and working on the project in java.
i wannna know that how compact disk drive can be open or closed through java. ie just by clicking one button cd drive should open and a required cd may be put inside and then on clicking the other button it should go inside.
can u give me the source code or any link to it.

thnxx in advance.