Connecting the arduino to processing

Hey people... I am trying to connect the arduino uno to the program processing, but i dont know how. Right now a movie is looping in processing and i need to make it so that when i hit two wires together (using tin foil), the movie stops/plays/goes to another movie.

import processing.video.*;

Movie theMov;

void setup()
{
  size(700, 500, P2D);
  theMov = new Movie(this, "MovieTest.mov");
  theMov.loop();
}

void movieEvent (Movie theMov)
{
  theMov.read();
}

void draw()
{
  image(theMov, 20, 20);
}

In the arduino code three LEDs are lighting up differently depending on what wire you hit

const int silver_1 = 6;
const int silver_2 = 7;
const int silver_3 = 8;
const int silver_4 = 9;
const int silver_5 = 10;
const int silver_6 = 11;
const int silver_7 = 12;

const int ledPin_1 = 0;
const int ledPin_2 = 1;
const int ledPin_3 = 2;

int silverState_1;
int silverState_2;
int silverState_3;
int silverState_4;
int silverState_5;
int silverState_6;
int silverState_7;

void setup()
{
  pinMode(ledPin_1, OUTPUT);
  pinMode(ledPin_2, OUTPUT);
  pinMode(ledPin_3, OUTPUT);
  pinMode(silver_1, INPUT);
  pinMode(silver_2, INPUT);
  pinMode(silver_3, INPUT);
  pinMode(silver_4, INPUT);
  pinMode(silver_5, INPUT);
  pinMode(silver_6, INPUT);
  pinMode(silver_7, INPUT);
}
void loop()
{
  silverState_1 = digitalRead(silver_1);
  silverState_2 = digitalRead(silver_2);
  silverState_3 = digitalRead(silver_3);
  silverState_4 = digitalRead(silver_4);
  silverState_5 = digitalRead(silver_5);
  silverState_6 = digitalRead(silver_6);
  silverState_7 = digitalRead(silver_7);
  if (silverState_1 == HIGH)
  {
    digitalWrite(ledPin_1, HIGH);
    digitalWrite(ledPin_2, HIGH);
    digitalWrite(ledPin_3, LOW);
  }
  else if (silverState_2 == HIGH)
  {
    digitalWrite(ledPin_1, LOW);
    digitalWrite(ledPin_2, HIGH);
    digitalWrite(ledPin_3, HIGH);
  }
  else if (silverState_3 == HIGH)
  {
    digitalWrite(ledPin_1, HIGH);
    digitalWrite(ledPin_2, LOW);
    digitalWrite(ledPin_3, HIGH);
  }
  else if (silverState_4 == HIGH)
  {  
    digitalWrite(ledPin_1, HIGH);
    digitalWrite(ledPin_2, HIGH);
    digitalWrite(ledPin_3, HIGH);
  }
   else if (silverState_5 == HIGH)
  {  
    digitalWrite(ledPin_1, HIGH);
    digitalWrite(ledPin_2, LOW);
    digitalWrite(ledPin_3, LOW);
  }
   else if (silverState_6 == HIGH)
  {  
    digitalWrite(ledPin_1, LOW);
    digitalWrite(ledPin_2, HIGH);
    digitalWrite(ledPin_3, LOW);
  }
   else if (silverState_7 == HIGH)
  {  
    digitalWrite(ledPin_1, LOW);
    digitalWrite(ledPin_2, LOW);
    digitalWrite(ledPin_3, HIGH);
  }
  else
  {
    digitalWrite(ledPin_1, LOW);
    digitalWrite(ledPin_2, LOW);
    digitalWrite(ledPin_3, LOW);
  }
}

I really hope someone can help Thanks /iDon'tKnow

The Arduino can communicate with processing via the serial port. There are examples provided with Processing that show how.

What do you mean provided with processing? Do you mean on their website, because then i can't find it for some reason?

In the Processing IDE, click on File->Examples... Then, in the box that appears, expand Libraries, then Serial I/O. The SimpleRead sketch, which contains code for both Processing and Arduino, should get you started.