I have a dilemma. I am trying to program an applet for my website that will access my sftp server and I am starting to loose faith. I am building a swing user interface and that is going ok, but I am at the moment really struggling with the file permissions for the users local area. I have written my own certificate and I know it works because I tested it on a basic applet. But now I can't get the applet inside to work right. I have two classes, one main one and one that is accessed by the initial one, everytime I run my applet I get a grey screen where the applet should be. I am using swing.

In the greater scheme of things I know creating this app can be done but I am wondering if It can be done with just the standard java api. Any online resources anyone can point me in the direction of would be helpful. Any help appreciated.

Many thanks,