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

📄 main.java

📁 JAVA环境下的JAVA SKYPE 具体我也没用过请大家试下效果如何,来自外国一牛人
💻 JAVA
字号:
/*
 * Created on 25-jun-2004
 * Copyright (C) 2004  B. Lamot
 ***********************************************************
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 ************************************************************
 *
 * This class is an example implementation of what a client needs
 * to do to connect to Skype.
 */

package net.lamot.java.jskype;

import net.lamot.java.jskype.windows.Messenger;

/**
 * @author BaLamot
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class Main {
	public static void main(String[] args) {		
		Messenger msgr = new Messenger();
		msgr.initialize();
		boolean run=true;		
			while (run) {
				try {		
					Thread.yield();
					Thread.sleep(100000);
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
					run=false;
				} 
			}
			msgr.destroy();
			System.out.println("Destroy");
	}
	
	public void onWindowsMessage() {
		System.out.println("Main.onWindowsMessenger");		
	}
}

⌨️ 快捷键说明

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