summaryrefslogtreecommitdiff
path: root/src/Main.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-26 00:09:08 +0000
committerPixel <Pixel>2001-11-26 00:09:08 +0000
commit4fba62636fa5183776fa53f2d98a51a7e7fbc794 (patch)
tree1a2a0d567108651967a6c938b32cff08f3e704ff /src/Main.cc
parent9707409e4d15eadac9b3c752c3c6877788943a58 (diff)
Java?
Diffstat (limited to 'src/Main.cc')
-rw-r--r--src/Main.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Main.cc b/src/Main.cc
index 2398814..c396568 100644
--- a/src/Main.cc
+++ b/src/Main.cc
@@ -76,11 +76,17 @@ Action * a3 = new Message("Schéma EA",
"schemaea");
Action * a4 = new Form("Test de formulaire...", "menu4", "Rentrez des trucs...", Noms, Invites, Defaults, Lists, Descs, 3);
Action * a5 = new Confirm("Confirmation", "Oui ou non?", "menu5", 0, 0);
-Action * Liste[] = {a1, a2, a3, a4, a5, ad};
-String Labels[] = {"Action 1", "Action 2", "Action 3", "Action 4", "Action 5", "Action dynamique"};
+Action * java = new Message("Applet JAVA",
+"
+<applet CODE=\"/image/HelloSwingApplet.class\" WIDTH = 400 HEIGHT = 50 >
+</applet>
+", "java");
+
+Action * Liste[] = {a1, a2, a3, a4, a5, ad, java};
+String Labels[] = {"Action 1", "Action 2", "Action 3", "Action 4", "Action 5", "Action dynamique", "Essai de java"};
Action * buildmenu(void) {
- return new Menu("Menu Principal", "start", Labels, Liste, 6);
+ return new Menu("Menu Principal", "start", Labels, Liste, 7);
}
int main(int argc, char ** argv) {