GUI not working in browser !
in
Integration and Hardware
•
1 year ago
Hello everyone i'm working on a game using processing, i'v done much progress on the game but when i export applet it won't work in the browser because it has GUI.
i tracked the problem and figured out that when menus start adding buttons/other menu, the program crashes. when i add the buttons/menu to the program (they work properly when you run it in processing) but when i export applet and run in browser the GUI doesn't even appear (i used frame.add(new MenuBar()) ......)
if anyone has any proposal on how to get this working...or to make the game run in a popup window after opening the webpage.
Thank you :)
i tracked the problem and figured out that when menus start adding buttons/other menu, the program crashes. when i add the buttons/menu to the program (they work properly when you run it in processing) but when i export applet and run in browser the GUI doesn't even appear (i used frame.add(new MenuBar()) ......)
if anyone has any proposal on how to get this working...or to make the game run in a popup window after opening the webpage.
Thank you :)
you can take a look at the game here:
(its clear what the GUI does)
http://www.vistamoda.com/index.php/have-fun
(its clear what the GUI does)
http://www.vistamoda.com/index.php/have-fun
1