当前位置: 首页>>代码示例>>Java>>正文


Java EventsScheduler.init方法代码示例

本文整理汇总了Java中net.sf.memoranda.EventsScheduler.init方法的典型用法代码示例。如果您正苦于以下问题:Java EventsScheduler.init方法的具体用法?Java EventsScheduler.init怎么用?Java EventsScheduler.init使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在net.sf.memoranda.EventsScheduler的用法示例。


在下文中一共展示了EventsScheduler.init方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: saveEvents

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
private void saveEvents() {
CurrentStorage.get().storeEventsManager();
       eventsTable.refresh();
       EventsScheduler.init();
       parentPanel.calendar.jnCalendar.updateUI();
       parentPanel.updateIndicators();
   }
 
开发者ID:ser316asu,项目名称:Neukoelln_SER316,代码行数:8,代码来源:EventsPanel.java

示例2: saveEvents

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
public void saveEvents() {
CurrentStorage.get().storeEventsManager();
       eventsTable.refresh();
       EventsScheduler.init();
       parentPanel.calendar.jnCalendar.updateUI();
       parentPanel.updateIndicators();
   }
 
开发者ID:ser316asu,项目名称:SER316-Aachen,代码行数:8,代码来源:EventsPanel.java

示例3: saveEvents

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
private void saveEvents() {
    CurrentStorage.get().storeEventsManager();
    eventsTable.refresh();
    EventsScheduler.init();
    parentPanel.calendar.jnCalendar.updateUI();
    parentPanel.updateIndicators();
}
 
开发者ID:cst316,项目名称:spring16project-Team-Laredo,代码行数:8,代码来源:EventsPanel.java

示例4: saveEvents

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
private void saveEvents() {
	CurrentStorage.get().storeEventsManager();
    eventsTable.refresh();
    EventsScheduler.init();
    parentPanel.calendar.jnCalendar.updateUI();
    parentPanel.updateIndicators();
}
 
开发者ID:cst316,项目名称:spring16project-Modula-2,代码行数:8,代码来源:EventsPanel.java

示例5: App

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
public App(boolean fullmode) {
	super();
	if (fullmode) {
		fullmode = !Configuration.get("START_MINIMIZED").equals("yes");
	}
	/* DEBUG */
	// else {
	// System.out.println("Minimized mode");
	// }
	if (!Configuration.get("SHOW_SPLASH").equals("no")) {
		showSplash();
	}
	// System.out.println(VERSION_INFO);
	// System.out.println(Configuration.get("LOOK_AND_FEEL"));

	App_trylf();

	if (Configuration.get("FIRST_DAY_OF_WEEK").equals("")) {
		String fdow;
		if (Calendar.getInstance().getFirstDayOfWeek() == 2) {
			fdow = "mon";
		} else {
			fdow = "sun";
		}
		Configuration.put("FIRST_DAY_OF_WEEK", fdow);
		Configuration.saveConfig();
		/* DEBUG */
		System.out.println("[DEBUG] first day of week is set to " + fdow);
	}

	EventsScheduler.init();
	frame = new AppFrame();
	if (fullmode) {
		init();
	}
	if (!Configuration.get("SHOW_SPLASH").equals("no")) {
		splash.dispose();
	}
}
 
开发者ID:cst316,项目名称:spring16project-Fortran,代码行数:40,代码来源:App.java

示例6: saveEvents

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
private void saveEvents() {
	CurrentStorage.get().storeEventsManager();
	eventsTable.refresh();
	EventsScheduler.init();
	parentPanel.calendar.jnCalendar.updateUI();
	parentPanel.updateIndicators();
}
 
开发者ID:cst316,项目名称:spring16project-Fortran,代码行数:8,代码来源:EventsPanel.java

示例7: saveEvents

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
private void saveEvents() {
    CurrentStorage.get().storeEventsManager();
    eventsTable.refresh();
    //sets tables font size
    eventsTable.setFont((new Font("serif", Font.PLAIN, Integer.parseInt(Configuration.get("BASE_FONT_SIZE").toString()))));
    EventsScheduler.init();
    parentPanel.calendar.jnCalendar.updateUI();
    parentPanel.updateIndicators();
}
 
开发者ID:cst316,项目名称:spring16project-Korn,代码行数:10,代码来源:EventsPanel.java

示例8: App

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
public App(boolean fullmode) {
	super();
	if (fullmode)
		fullmode = !Configuration.get("START_MINIMIZED").equals("yes");
	/* DEBUG */
	if (!fullmode)
		System.out.println("Minimized mode");
	// TODO: make language selection configurable
	showSelectLanguageDialog();
	if (!Configuration.get("SHOW_SPLASH").equals("no"))
		showSplash();
	System.out.println(VERSION_INFO);
	System.out.println(Configuration.get("LOOK_AND_FEEL"));
	try {
		if (Configuration.get("LOOK_AND_FEEL").equals("system"))
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		else if (Configuration.get("LOOK_AND_FEEL").equals("default"))
			UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
		else if (Configuration.get("LOOK_AND_FEEL").toString().length() > 0)
			UIManager.setLookAndFeel(Configuration.get("LOOK_AND_FEEL").toString());

	} catch (Exception e) {
		new ExceptionDialog(e, "Error when initializing a pluggable look-and-feel. Default LF will be used.",
				"Make sure that specified look-and-feel library classes are on the CLASSPATH.");
	}
	if (Configuration.get("FIRST_DAY_OF_WEEK").equals("")) {
		String fdow;
		if (Calendar.getInstance().getFirstDayOfWeek() == 2)
			fdow = "mon";
		else
			fdow = "sun";
		Configuration.put("FIRST_DAY_OF_WEEK", fdow);
		Configuration.saveConfig();
		/* DEBUG */
		System.out.println("[DEBUG] first day of week is set to " + fdow);
	}

	EventsScheduler.init();
	frame = new AppFrame();

	if (fullmode) {
		init();
	}
	if (!Configuration.get("SHOW_SPLASH").equals("no"))
		splash.dispose();
}
 
开发者ID:ser316asu,项目名称:Neukoelln_SER316,代码行数:47,代码来源:App.java

示例9: App

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
public App(boolean fullmode) {
       super();
       IconFontSwing.register(GoogleMaterialDesignIcons.getIconFont());
       if (fullmode)
           fullmode = !Configuration.get("START_MINIMIZED").equals("yes");
       /* DEBUG */
       if (!fullmode)
           Util.debug("Minimized mode");
       if (!Configuration.get("SHOW_SPLASH").equals("no")){
           showSplash();
       }
       Util.debug(VERSION_INFO);
       Util.debug(Configuration.get("LOOK_AND_FEEL").toString());
       try {
           if (Configuration.get("LOOK_AND_FEEL").equals("system"))
               UIManager.setLookAndFeel(
                   UIManager.getSystemLookAndFeelClassName());
           else if (Configuration.get("LOOK_AND_FEEL").equals("default"))
               UIManager.setLookAndFeel(
                   UIManager.getCrossPlatformLookAndFeelClassName());                    
           else if (
               Configuration.get("LOOK_AND_FEEL").toString().length() > 0)
               UIManager.setLookAndFeel(
                   Configuration.get("LOOK_AND_FEEL").toString());

	} catch (Exception e) {
		new ExceptionDialog(e, "Error when initializing a pluggable look-and-feel. Default LF will be used.", "Make sure that specified look-and-feel library classes are on the CLASSPATH.");
	}
	if (Configuration.get("FIRST_DAY_OF_WEEK").equals("")) {
		String fdow;
		if (Calendar.getInstance().getFirstDayOfWeek() == 2)
			fdow = "mon";
		else
			fdow = "sun";
		Configuration.put("FIRST_DAY_OF_WEEK", fdow);
		Configuration.saveConfig();
		Util.debug("first day of week is set to " + fdow);
	}
	Palette.setPalette(CurrentProject.get().getColor());
	showLogin();
	login.dispose();
	EventsScheduler.init();
	frame = AppFrame.getAppFrame();
	if (fullmode) {
		init();
	}
	if (!Configuration.get("SHOW_SPLASH").equals("no"))
		splash.dispose();
}
 
开发者ID:ser316asu,项目名称:SER316-Dresden,代码行数:50,代码来源:App.java

示例10: saveEvents

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
public void saveEvents() {
    eventsTable.refresh();
    EventsScheduler.init();
    parentPanel.calendar.jnCalendar.updateUI();
    parentPanel.updateIndicators();
}
 
开发者ID:ser316asu,项目名称:SER316-Dresden,代码行数:7,代码来源:EventsPanel.java

示例11: App

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
public App(boolean fullmode) {
	super();
	if (fullmode)
		fullmode = !Configuration.get("START_MINIMIZED").equals("yes");
	/* DEBUG */
	if (!fullmode)
		System.out.println("Minimized mode");
	if (!Configuration.get("SHOW_SPLASH").equals("no"))
		showSplash();
	System.out.println(VERSION_INFO);
	System.out.println(Configuration.get("LOOK_AND_FEEL"));
	try {
		if (Configuration.get("LOOK_AND_FEEL").equals("system"))
			UIManager.setLookAndFeel(
				UIManager.getSystemLookAndFeelClassName());
		else if (Configuration.get("LOOK_AND_FEEL").equals("default"))
			UIManager.setLookAndFeel(
				UIManager.getCrossPlatformLookAndFeelClassName());					
		else if (
			Configuration.get("LOOK_AND_FEEL").toString().length() > 0)
			UIManager.setLookAndFeel(
				Configuration.get("LOOK_AND_FEEL").toString());

	} catch (Exception e) {		    
		new ExceptionDialog(e, "Error when initializing a pluggable look-and-feel. Default LF will be used.", "Make sure that specified look-and-feel library classes are on the CLASSPATH.");
	}
	if (Configuration.get("FIRST_DAY_OF_WEEK").equals("")) {
		String fdow;
		if (Calendar.getInstance().getFirstDayOfWeek() == 2)
			fdow = "mon";
		else
			fdow = "sun";
		Configuration.put("FIRST_DAY_OF_WEEK", fdow);
		Configuration.saveConfig();
		/* DEBUG */
		System.out.println("[DEBUG] first day of week is set to " + fdow);
	}

	EventsScheduler.init();
	frame = new AppFrame();
	if (fullmode) {
		init();
	}
	if (!Configuration.get("SHOW_SPLASH").equals("no"))
		splash.dispose();
}
 
开发者ID:ser316asu,项目名称:SER316-Munich,代码行数:47,代码来源:App.java

示例12: App

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
public App(boolean fullmode) {
	super();
	if (fullmode) {
		fullmode = !Configuration.get("START_MINIMIZED").equals("yes");
	}
	/* DEBUG */
	if (!fullmode) {
		System.out.println("Minimized mode");
	}
	if (!Configuration.get("SHOW_SPLASH").equals("no")) {
		showSplash();
	}
	System.out.println(VERSION_INFO);
	System.out.println(Configuration.get("LOOK_AND_FEEL"));
	try {
		if (Configuration.get("LOOK_AND_FEEL").equals("system")) {
			UIManager.setLookAndFeel(
				UIManager.getSystemLookAndFeelClassName());
		} else if (Configuration.get("LOOK_AND_FEEL").equals("default")) {
			UIManager.setLookAndFeel(
				UIManager.getCrossPlatformLookAndFeelClassName());
		} else if (Configuration.get("LOOK_AND_FEEL").equals("motif")) {
			UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
		} else if (Configuration.get("LOOK_AND_FEEL").equals("seaglass")) {
			UIManager.setLookAndFeel("com.seaglasslookandfeel.SeaGlassLookAndFeel");
		} else if (Configuration.get("LOOK_AND_FEEL").equals("nimbus")) {
			UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel");
		} else if (
			Configuration.get("LOOK_AND_FEEL").toString().length() > 0) {
			UIManager.setLookAndFeel(
				Configuration.get("LOOK_AND_FEEL").toString());
		}

	} catch (Exception e) {		    
		new ExceptionDialog(e, "Error when initializing a pluggable look-and-feel. "
				+ "Default LF will be used.", "Make sure that specified look-and-feel "
						+ "library classes are on the CLASSPATH.");
	}
	if (Configuration.get("FIRST_DAY_OF_WEEK").equals("")) {
		String fdow;
		if (Calendar.getInstance().getFirstDayOfWeek() == 2) {
			fdow = "mon";
		} else {
			fdow = "sun";
		}
		Configuration.put("FIRST_DAY_OF_WEEK", fdow);
		Configuration.saveConfig();
		/* DEBUG */
		System.out.println("[DEBUG] first day of week is set to " + fdow);
	}

	EventsScheduler.init();
	frame = new AppFrame();
	if (fullmode) {
		init();
	}
	if (!Configuration.get("SHOW_SPLASH").equals("no")) {
		splash.dispose();
	}
}
 
开发者ID:ser316asu,项目名称:Wilmersdorf_SER316,代码行数:61,代码来源:App.java

示例13: App

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
public App(boolean fullmode) {
	super();
	if (fullmode)
		fullmode = !Configuration.get("START_MINIMIZED").equals("yes");
	/* DEBUG */
	if (!fullmode)
		System.out.println("Minimized mode");
	if (!Configuration.get("SHOW_SPLASH").equals("no"))
		showSplash();
	System.out.println(VERSION_INFO);
	System.out.println(Configuration.get("LOOK_AND_FEEL"));
	try {
		if (Configuration.get("LOOK_AND_FEEL").equals("system"))
			UIManager.setLookAndFeel(
				UIManager.getSystemLookAndFeelClassName());
		else if (Configuration.get("LOOK_AND_FEEL").equals("default"))
			UIManager.setLookAndFeel(
				UIManager.getCrossPlatformLookAndFeelClassName());					
		else if (
			Configuration.get("LOOK_AND_FEEL").toString().length() > 0)
			UIManager.setLookAndFeel(
				Configuration.get("LOOK_AND_FEEL").toString());

	} catch (Exception e) {		    
		new ExceptionDialog(e, "Error when initializing a pluggable look-and-feel. Default LF will be used.", "Make sure that specified look-and-feel library classes are on the CLASSPATH.");
	}
	if (Configuration.get("FIRST_DAY_OF_WEEK").equals("")) {
		String fdow;
		if (Calendar.getInstance().getFirstDayOfWeek() == 2)
			fdow = "mon";
		else
			fdow = "sun";
		Configuration.put("FIRST_DAY_OF_WEEK", fdow);
		Configuration.saveConfig();
		/* DEBUG */
		System.out.println("[DEBUG] first day of week is set to " + fdow);
	}
	if (Configuration.get("BACKGROUND_COLOR_SETTING").equals(null))
		Configuration.put("BACKGROUND_COLOR_SETTING", "WHITE");

	EventsScheduler.init();
	frame = new AppFrame();
	if (fullmode) {
		init();
	}
	if (!Configuration.get("SHOW_SPLASH").equals("no"))
		splash.dispose();
}
 
开发者ID:ser316asu,项目名称:Reinickendorf_SER316,代码行数:49,代码来源:App.java

示例14: reload

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
/**
 * Method reload to apply color changes.
 */
public static void reload (boolean fullmode) {
	frame.dispose();
	if (fullmode)
		fullmode = !Configuration.get("START_MINIMIZED").equals("yes");
	/* DEBUG */
	if (!fullmode)
		System.out.println("Minimized mode");
	try {
		if (Configuration.get("LOOK_AND_FEEL").equals("system"))
			UIManager.setLookAndFeel(
				UIManager.getSystemLookAndFeelClassName());
		else if (Configuration.get("LOOK_AND_FEEL").equals("default"))
			UIManager.setLookAndFeel(
				UIManager.getCrossPlatformLookAndFeelClassName());					
		else if (
			Configuration.get("LOOK_AND_FEEL").toString().length() > 0)
			UIManager.setLookAndFeel(
				Configuration.get("LOOK_AND_FEEL").toString());

	} catch (Exception e) {		    
		new ExceptionDialog(e, "Error when initializing a pluggable look-and-feel. Default LF will be used.", "Make sure that specified look-and-feel library classes are on the CLASSPATH.");
	}
	if (Configuration.get("FIRST_DAY_OF_WEEK").equals("")) {
		String fdow;
		if (Calendar.getInstance().getFirstDayOfWeek() == 2)
			fdow = "mon";
		else
			fdow = "sun";
		Configuration.put("FIRST_DAY_OF_WEEK", fdow);
		Configuration.saveConfig();
		/* DEBUG */
		System.out.println("[DEBUG] first day of week is set to " + fdow);
	}

	EventsScheduler.init();
	frame = new AppFrame();
	if (fullmode) {
		double JVMVer =
				Double
					.valueOf(System.getProperty("java.version").substring(0, 3))
					.doubleValue();

			frame.pack();
			if (JVMVer >= 1.4) {
				frame.setExtendedState(Frame.MAXIMIZED_BOTH);
			} else {
				frame.setExtendedState(Frame.NORMAL);
			}
			frame.setVisible(true);
			frame.toFront();
			frame.requestFocus();
	}
}
 
开发者ID:ser316asu,项目名称:Reinickendorf_SER316,代码行数:57,代码来源:App.java

示例15: App

import net.sf.memoranda.EventsScheduler; //导入方法依赖的package包/类
public App(boolean fullmode, boolean tray) {
	super();
	if (fullmode)
		fullmode = !Configuration.get("START_MINIMIZED").equals("yes");
	/* DEBUG */
	if (!fullmode)
		System.out.println("Minimized mode");
	if (!Configuration.get("SHOW_SPLASH").equals("no"))
		showSplash();
	System.out.println(VERSION_INFO);
	System.out.println(Configuration.get("LOOK_AND_FEEL"));
	try {
		if (Configuration.get("LOOK_AND_FEEL").equals("Day")) {
			UIManager.setLookAndFeel(
				UIManager.getCrossPlatformLookAndFeelClassName());
			ColorPanels.setTheme("Day");
		}
		else if (Configuration.get("LOOK_AND_FEEL").equals("Night")) {
			UIManager.setLookAndFeel(
					UIManager.getCrossPlatformLookAndFeelClassName());
			ColorPanels.setTheme("Night");
		}
		else {
			UIManager.setLookAndFeel(
					UIManager.getCrossPlatformLookAndFeelClassName());
				ColorPanels.setTheme("Day");
		}

	} catch (Exception e) {		    
		new ExceptionDialog(e, "Error when initializing a pluggable look-and-feel. Default LF will be used.", "Make sure that specified look-and-feel library classes are on the CLASSPATH.");
	}
	if (Configuration.get("FIRST_DAY_OF_WEEK").equals("")) {
		String fdow;
		if (Calendar.getInstance().getFirstDayOfWeek() == 2)
			fdow = "mon";
		else
			fdow = "sun";
		Configuration.put("FIRST_DAY_OF_WEEK", fdow);
		Configuration.saveConfig();
		/* DEBUG */
		System.out.println("[DEBUG] first day of week is set to " + fdow);
	}

	EventsScheduler.init();
	frame = new AppFrame(tray);
	this.tray = tray;
	if (fullmode) {
		init();
	}
	if (!Configuration.get("SHOW_SPLASH").equals("no"))
		splash.dispose();
}
 
开发者ID:ser316asu,项目名称:Dahlem_SER316,代码行数:53,代码来源:App.java


注:本文中的net.sf.memoranda.EventsScheduler.init方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。