How would I make a method or a line of code from a string value? Say I typed in "i=1;" in a text field, is there a way to put that text in the compiling code? This is not about assigning values to variables, this is about being able to write a method in a running java program and then implement it. That would be awesome. Thanks in advance.