Hi everyone!

I'm to new to JAVA and i have a problem right now. I want to edit a java code made by a friend, but the problem is i don't know how to open the code and do some modification.
Can anyone help me with this???Thanks