摘要: public class jietu { public static void main(String[] args) throws AWTException, IOException { Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); int screenSizewidth = (int) sc... 阅读全文
posted @ 2018-09-26 17:45 毫无代价 阅读(194) 评论(0) 推荐(0) 编辑
摘要: @Test public void maintow() throws UnknownHostException { //获取本机IP InetAddress ip = InetAddress.getLocalHost(); System.out.println(ip); //***/169.254.93.173 String sip = ip.getHostAddr... 阅读全文
posted @ 2018-09-26 14:51 毫无代价 阅读(132) 评论(0) 推荐(0) 编辑