Slick Forums

Discuss the Slick 2D Library
It is currently Wed Jun 19, 2013 3:49 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun May 30, 2010 12:10 pm 
Offline
User avatar

Joined: Thu Apr 24, 2008 4:28 pm
Posts: 66
Location: Germany
The AppGameContainer's setMouseCursor(xxx) methods catches an Exception:
Code:
try {
......
    Mouse.setNativeCursor(cursor);
} catch (Exception e) {
    Log.error("Failed to load and apply cursor.", e);
}

But it doesn't catch an NoSuchMethodError (Throwable>Error>..). This Error is will be thrown in " Mouse.setNativeCursor(..);" on Machines with older ATI graphic cards. Also tried the newest LWJGL version, which had no change to this behavior. Maybe this Bug also relies to LWJGL, but it could be easily solved by catching for Throwable instead of Exception.

I'll also open an RFE, for a check if the Cursor was set. Please check also this, because I need to get them fixed at once.
Best wishes,
Tobse


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 14, 2010 12:03 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
Fixed in SVN.

Kev


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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