Can I use a computer monitor as a TV and a PC Monitor and play my Xbox and Computer on it?

I have an xbox 360 and an awesome pc with a nice monitor, my current setup is in the basement and the xbox is on a samsung and im moving my pc to my room, i was wondering if i could make it so i had a switch where i could turn it to PC and surf internet ECT. and flip it the other way to play Halo 3 on xbox live i... show more I have an xbox 360 and an awesome pc with a nice monitor, my current setup is in the basement and the xbox is on a samsung and im moving my pc to my room, i was wondering if i could make it so i had a switch where i could turn it to PC and surf internet ECT. and flip it the other way to play Halo 3 on xbox live i don't know how i would get the PC to connect to the component cables. PS my xbox can use HDMI if thats the only way to connect to the monitor. Thanks alot guys, because i would like to have all my stuff near eachother.
3 answers 3