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

2013/3/10

How to use an Third-party libraries in Greenfoot

Upupzealot Upupzealot

2013/3/10

#
An Third-party libraries here means classes zipped in an jar file for others to use. For example game.jar that is written by other people, and now I want to use some class in it in my scenrio. Where should I put the jar file? And what should I write in my code to import the classes? I tried to put it in the folder Greenfoot\userlib\ and import as import game.*; but it seems dosen't work.
erdelf erdelf

2013/3/10

#
didnt tried that, but click on edit, preferences and libraries and add your jar file to the list
You need to login to post a reply.