have a look at

https://wiki.python.org/jython/JythonMonthly/Articles/October2006/3

(I haven't tried it myself)

Regards,
Fernando

On 09/22/2013 07:23 PM, Davis Silverman wrote:
Hello, im trying to construct an example of using Libgdx (www.libgdx.com) in Jython!

im having some difficulties, specifically how to call a jython class in place of a java class. This is the code necessary to start a Libgdx program:
```
package com.badlogic.GdxJython;

import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;

public class Main {
public static void main(String[] args) {
LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
cfg.title = "GdxJython";
cfg.useGL20 = false;
cfg.width = 480;
cfg.height = 320;
new LwjglApplication(new GdxJython(), cfg);
}
}
```

In the last line of code, i was wondering how i could switch out the "new GdxJython()" to a call to a jython class.

thank you so much for your help!

Sincerely,
~~Davis Silverman
~Sinistersnare



------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk


_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users