There are many command lines like Using the command line(Avast), Using the Terminal to install or remove Sophos Anti-Virus for Mac OS X etc. for antivirus running but my requirement is to embed them in an GUI Application and then run from there. Basically it will be best to embed these command in Java Swing Application.
But I have no idea how to do it, if any one has references to sources regarding this please let me know.