Common JFrame object

Same JFrame object is passed from options to postad
Merge pull request #2 from varun1994/master

Common Jframe for the Whole Script