diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.cc | 12 |
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) { |