问题描述
今天想把以前的ftpserver做一个升级,但发现把源码编完后没有了界面org.apache.ftpserver.gui这个包,有哪位高人只知道1.0.5如何生成服务器的界面吗?以前版本部分源代码如下:publicServerFrame(){JTabbedPanetabPane=newJTabbedPane();getContentPane().add(tabPane);//addallpluginpanelspluginContainer=newTreePluginPanelContainer();pluginContainer.add(newRootPanel(pluginContainer));pluginContainer.add(newUserManagerPanel(pluginContainer));pluginContainer.add(newIPRestrictorPanel(pluginContainer));pluginContainer.add(newMessagePanel(pluginContainer));pluginContainer.add(newConnectionPanel(pluginContainer));pluginContainer.add(newSpyPanelContainer(pluginContainer));pluginContainer.add(newFilePanel(pluginContainer));pluginContainer.add(newDirectoryPanel(pluginContainer));pluginContainer.add(newLoggerPanel(pluginContainer));pluginContainer.add(newStatisticsPanel(pluginContainer));tabPane.addTab("FTP",pluginContainer.getComponent());pluginContainer.setSelectedIndex(PluginPanelContainer.ROOT_INDEX);//showframesetTitle("FTP������");ImageIconicon=GuiUtils.createImageIcon("org/apache/ftpserver/gui/logo.gif");if(icon!=null){setIconImage(icon.getImage());}setSize(newDimension(620,420));GuiUtils.setLocation(this);setVisible(true);toFront();}