Slick Forums

Discuss the Slick 2D Library
It is currently Sat May 18, 2013 8:56 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Question about textfield
PostPosted: Wed May 02, 2012 12:11 pm 
Offline

Joined: Wed May 02, 2012 12:08 pm
Posts: 5
Hey
I have just started using slick2d framework, i wonder if there is any component like JTextField in swing?(cuz i checked TextField class in slick library and it just seems to be a label)
Tacks!


Top
 Profile  
 
PostPosted: Wed May 02, 2012 6:12 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1466
TextField should receive input and behave like JTextField.


Top
 Profile  
 
PostPosted: Wed May 02, 2012 7:25 pm 
Offline

Joined: Wed May 02, 2012 12:08 pm
Posts: 5
davedes wrote:
TextField should receive input and behave like JTextField.

Hey you are right, i have tried TextField in BasicGame and BasicGameState,
it turned out that TextField is uneditable in BasicGameState...I can not click, nor edit it.


Top
 Profile  
 
PostPosted: Wed May 02, 2012 7:50 pm 
Offline
Slick Zombie

Joined: Sat Jan 27, 2007 7:10 pm
Posts: 1466
What version of Slick are you using?

This has been reported before but I can't seem to reproduce it using the latest build of slick from the developer branch.


Top
 Profile  
 
PostPosted: Wed May 02, 2012 9:31 pm 
Offline

Joined: Wed May 02, 2012 12:08 pm
Posts: 5
davedes wrote:
What version of Slick are you using?

This has been reported before but I can't seem to reproduce it using the latest build of slick from the developer branch.

actually i don't know, but i think it's the latest version, i just got it from http://slick.cokeandcode.com/ a few days ago.


Top
 Profile  
 
PostPosted: Thu May 03, 2012 12:54 am 
Offline
Regular
User avatar

Joined: Wed Apr 27, 2011 3:29 pm
Posts: 194
Location: United State of California
That one is outdated.

Use the dev version here: https://bitbucket.org/kevglass/slick

_________________
Current Testing Machine:
Windows 7 x64, 4GB RAM DDR3, 3.3ghz AMD Athlon II X3 455, AMD Radeon HD 6800 series.


Top
 Profile  
 
PostPosted: Thu May 03, 2012 10:46 am 
Offline

Joined: Wed May 02, 2012 12:08 pm
Posts: 5
raeleus wrote:
That one is outdated.

Use the dev version here: https://bitbucket.org/kevglass/slick

It worked! I copied Slick.jar from that project, thank you :))


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 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