home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 November
/
Chip_1998-11_cd.bin
/
tema
/
Cafe
/
promain.bin
/
DBVPO.DLL
/
SOURCE
/
IFCAPP
< prev
next >
Wrap
Text File
|
1998-03-18
|
1KB
|
37 lines
// IFCApp.java
import netscape_beta.application.*;
import netscape_beta.util.*;
/** In this example we create several user interface elements and place
* them on the background view. We set ourselves as the target of these
* elements so that as the user interacts with them we receive the
* corresponding commands.
*/
public class IFCApp extends Application implements Target {
/** This method gets called to initialize an application. We'll take
* this opportunity to set up the View hierarchy.
*/
public IFCApp() {
super();
}
public void init() {
super.init();
//{{INIT_CONTROLS
//}}
}
/** This is the sole method of the Target interface. Since java doesn't
* have a way to do callbacks, this ugly little bit of code needs to
* exist. The convention we recommend is to simply invoke the method
* with the same name as the command.
*/
public void performCommand(String command, Object arg) {
}
//{{DECLARE_CONTROLS
//}}
}