Debian Codegraph @

tests/reproducers/signed/EntryPointSignedSingleBothOk/srcs/EntryPointSignedSingleBothOk1.java

raw
1
2 import java.applet.Applet;
3
4 /* AppletTest.java
5 Copyright (C) 2011 Red Hat, Inc.
6
7 This file is part of IcedTea.
8
9 IcedTea is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, version 2.
12
13 IcedTea is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with IcedTea; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 02110-1301 USA.
22
23 Linking this library statically or dynamically with other modules is
24 making a combined work based on this library. Thus, the terms and
25 conditions of the GNU General Public License cover the whole
26 combination.
27
28 As a special exception, the copyright holders of this library give you
29 permission to link this library with independent modules to produce an
30 executable, regardless of the license terms of these independent
31 modules, and to copy and distribute the resulting executable under
32 terms of your choice, provided that you also meet, for each linked
33 independent module, the terms and conditions of the license of that
34 module. An independent module is a module which is not derived from
35 or based on this library. If you modify this library, you may extend
36 this exception to your version of the library, but you are not
37 obligated to do so. If you do not wish to do so, delete this
38 exception statement from your version.
39 */
40 public class EntryPointSignedSingleBothOk1 extends Applet {
41
42 @Override
43 public void init() {
44 confirm();
45 }
46
47 public static void main(String... s) {
48 confirm();
49 }
50
51 private static void confirm() {
52 System.out.println("*** applet1 running ***");
53 System.out.println(System.getProperty("user.home"));
54 System.out.println("*** APPLET1 FINISHED ***");
55 System.out.println("*** APPLET FINISHED ***");
56 }
57
58 }