Slick Forums

Discuss the Slick 2D Library
It is currently Fri Aug 17, 2018 9:20 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Jan 17, 2016 3:44 pm 
Offline

Joined: Sun Jan 17, 2016 3:35 pm
Posts: 1
Hi guys :)

in my game i want to show some simpel scores.
so i imported the slick-util for the truetypefonts.
But i get always this error: java.lang.NoClassDefFoundError: org/lwjgl/opengl/GLContext
I have following code from my resourcemanager:

Code:
    public static TrueTypeFont loadFont(String file) {
        Font awtFont = new Font("Times New Roman", Font.BOLD, 24);

        return new TrueTypeFont(awtFont, true);
    }


What did i wrong ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group