This site requires JavaScript, please enable it in your browser!
Greenfoot back
Xevinaly
Xevinaly wrote ...

2019/5/10

Running Greenfoot from Another Class

Xevinaly Xevinaly

2019/5/10

#
Is there a way to run a greenfoot scenario from another Java class? I want to use internationalization with my project and I believe I can do so as long as the main running method starts outside greenfoot.
Zamoht Zamoht

2019/5/11

#
I would not recommend modifying Greenfoot. Could you try to explain what it is you want to achieve with internationalization? Why do you think the main method is required?
Xevinaly Xevinaly

2019/5/12

#
I'm trying to translate the text I am adding to the screen with a locale.
Zamoht Zamoht

2019/5/12

#
I don't have experience doing this in Greenfoot, but it should not be that different from other solutions, and should work without access to the main method. Could you try to show some of the code you use, that doesn't work?
You need to login to post a reply.