I m making a Notepad in
java. I want to provide a functionality of compile and run the java program written in JTextArea. I have search about Runtime Class but i m not getting it properly.So can you please guide me how to compile the code and run the program.