我需要有关您的项目远程桌面的帮助 [英] I need help about your project Remote Desktop

查看:84
本文介绍了我需要有关您的项目远程桌面的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在那个项目中实现了一点,在服务器中遇到了问题
发起人,请帮助我,我可以得到您的电子邮件ID-
这样我就可以发送我的项目和我的电子邮件ID [已删除电子邮件地址]

I have slightly implemented in that project ,facing problem in server
initiator please help me can i have ur email id-
so i can send my project and this my email id [e-mail address removed]

if (action!=null && action.equals("Connect Client")){
                String port = lMainPanelObj.lListiningPortField.getText();
                System.out.println("heeee System Connected"+port);
                new ServerInitiator().initialize(Integer.parseInt(port));
                System.out.println("heeee System77777777777777777777 Connected");



从这里调用-----新的ServerInitiator()

在那我已经评论了main
问题是框​​架无法正确打开



from here calling----- new ServerInitiator()

in that i have commented main
and problem is frame is not opening properly

public class ServerInitiator {
    //Main server frame
    private JFrame frame = new JFrame();
    //JDesktopPane represents the main container that will contain all
    //connected clients'' screens
    private JDesktopPane desktop = new JDesktopPane();
    //public static void main(String args[]){
    //  String port = JOptionPane.showInputDialog("Please enter listening port");
     //   new ServerInitiator().initialize(Integer.parseInt(port));
   // }
    public void initialize(int port){
             System.out.println("333333333333333333333"+port);
        try {
            ServerSocket sc = new ServerSocket(port);
            //Show Server GUI
            drawGUI();
            desktop=null;
            //Listen to server port and accept clients connections
            while(true){
                Socket client = sc.accept();
                System.out.println("New client Connected to the server");
                //Per each client create a ClientHandler
                new ClientHandler(client,desktop);
            }
        } catch (IOException ex) {
            ex.printStackTrace();
        }
    }
    /*
     * Draws the main server GUI
     */
    public void drawGUI(){
            frame.add(desktop,BorderLayout.CENTER);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(500,500);
            //Show the frame in a maximized state
            //frame.setExtendedState(frame.getExtendedState()|JFrame.MAXIMIZED_BOTH);
            frame.setVisible(true);
    }
}

推荐答案

不要打开有关此内容的快速答案:您依靠远程桌面文章的作者在此处插入"并查看您的要求.

而是直接向文章作者发布消息-为此,文章底部有一个新消息"功能-然后,他会收到一封电子邮件,告诉他您想与他交谈.它不能保证得到答复,但比随机提问的机会要大得多.
Don''t open a Quick Answer about this: you are relying on the author of the Remote Desktop article to "drop in" here and see your request.

Instead, post a message to the article author directly - there is a "new message" function at the bottom of the article for just that purpose - he will then be sent an email to tell him you want to talk to him. It doesn''t guarantee a response, but it gives a much better chance than random questions.


太棒了...我喜欢它...

他没有在文章的论坛上发布问题,而是在问题的论坛上重新发布了问题.

您没有听过Griff ...返回您所看文章的页面.

这是文章吗? Java远程桌面管理 [
Awesome...I love it...

Instead of posting the question on the forum of the article, he reposted the question in the forum of the question.

You weren''t listening to Griff...Go back to the page with the article you were looking at.

Was this the article? Java Remote Desktop Administration[^]

If so, go to that article''s page, and look at the bottom of that page...not the bottom of this page.


这篇关于我需要有关您的项目远程桌面的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆