⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jmnet.java.svn-base

📁 梦界家园程序开发基底框架
💻 SVN-BASE
字号:
package jm.net.util;

import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * <p>Title: JM 整合Swing控件,使用配置信息</p>
 *
 * <p>Copyright: Copyright (c) 2004-2006</p>
 *
 * <p>Company: 1SHome</p>
 *
 * <p>@author Spook</p>
 *
 * @since 1.3
 * @see JDK 1.5.0.6
 */
public class JMNet {
    public static String getLocalIPAddress () {
        try {
            return (InetAddress.getLocalHost().getHostAddress());
        } catch (UnknownHostException e) {
            return "127.0.0.1";
        }

    }
    public static void main (String[] args) {


    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -