Rajeev kamal wrote:
Hello,
Can somebody please show me how to imbed FtpUser and its allied classes
in a swing GUI I am building.
Everytime I use it I get either "java.lang.NullPointerException" or must
catch exception.
What I want to do is
1. Build and GUI and use the classes for Ftpusers like FptServer, Users,
etc in the GUI with least amount of coding for already well built classes.
A sample code will be very much appreciated. currently I have two
classes. One Swing Class and other class when I want to call all the
necessary class of FtpServer and do some processing.
The FtpServer admin-gui module might give you some clues. It's a Swing
based GUI for administring FtpServer. You can get the source code here:
http://svn.apache.org/repos/asf/incubator/ftpserver/trunk/admin-gui/
/niklas