Source code: com/apple/eawt/Application.java
1 /*
2 * Application.java
3 * allusionsApp
4 *
5 * Created by Matthieu Cormier on Fri Jun 20 2003.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 */
21
22
23 package com.apple.eawt;
24
25 // This is a stub interface for non Mac OS X java 1.4 environments
26
27
28 public class Application
29 {
30 public Application() {}
31
32 public void addApplicationListener(ApplicationListener listenToMe)
33 {
34 //I don't feel like listening today!!
35 }
36
37 public boolean getEnabledPreferencesMenu() { return false;}
38
39 public void removeApplicationListener(ApplicationListener dontListenToMe)
40 {
41 //don't worry I haven't been
42 }
43
44 public void setEneablePreferencesMenu(boolean enable)
45 {
46 //yeah, like, what-ever!
47 }
48
49 public static java.awt.Point getMouseLocationOnScreen() { return null; }
50 }