to create X window(X11) in java swing and to get its id

前端 未结 5 1551
孤街浪徒
孤街浪徒 2020-12-17 05:42

Can anyone help me in creating an X11 window in java swing using eclipse?And also the function to get the x11 id also.What are the basic requirement for creating an X11 wind

5条回答
  •  温柔的废话
    2020-12-17 06:08

    Creating an X11 window in Swing is as easy as new Frame() followed by setVisible(true). Getting any of the unabstracted details will be harder. Of course, you can always open a java.net.Socket to port 6000 or so and speak X11 yourself.

提交回复
热议问题