Java 3D Desktop Environment旨在使用Java 3D来创建一个3D桌面环境。功能包括:分布式的应用程序

源代码在线查看: defaultapplicationserver.java

软件大小: 1221 K
上传用户: lilacky
关键词: Java Environment Desktop 3D
下载地址: 免注册下载 普通下载 VIP

相关代码

				package org.j3de.server;
				
				import java.util.Enumeration;
				
				import org.j3de.interfaces.Application;
				import org.j3de.interfaces.ApplicationDesc;
				import org.j3de.interfaces.ApplicationEnvironment;
				import org.j3de.interfaces.ApplicationServer;
				import org.j3de.interfaces.Environment;
				import org.j3de.interfaces.EnvironmentDesc;
				
				public class DefaultApplicationServer implements ApplicationServer {
				  private ApplicationList applicationList;
				  
				  public DefaultApplicationServer(ApplicationList applicationList) {
				    this.applicationList = applicationList;
				  } 
				  
				  public Application     getApplication(String appname, ApplicationEnvironment environment) {    
				    ApplicationWrapper wrapper = applicationList.getApplication(appname);
				    
				    if (wrapper != null)
				      return wrapper.getApplication(environment);   
				                                                                              
				    return null;                                                                           
				  }
				  
				  public ApplicationDesc getApplicationDescription(String appname) {
				    return null;
				  }
				  
				  public Enumeration     getApplications() {
				    return null;
				  }
				}			

相关资源