Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
/**
*
*/
package de.tutorials;
import java.awt.Frame;
import java.awt.Label;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
/**
* @author Tom
*
*/
public class AWTFrameExample extends Frame {
public AWTFrameExample(){
super("AWTFrameExample");
addWindowListener(new WindowAdapter(){
@Override
public void windowClosing(WindowEvent e) {
setVisible(false);
dispose();
System.exit(0);
}
});
add(new Label("tutorials.de -user helfen usern-"));
pack();
setVisible(true);
}
/**
* @param args
*/
public static void main(String[] args) {
new AWTFrameExample();
}
}
setDefaultCloseOperation(EXIT_ON_CLOSE);