A new version of this scenario was uploaded on Tue Jan 18 04:38:30 UTC 2011
Added javadoc.
A new version of this scenario was uploaded on Sun Jan 23 03:16:31 UTC 2011
Added example to the GUIWorld colorful text field of how to change the border when a component is the focus owner.
I get an error when compiling:
at line:
Label label = new Label(new GreenfootImage("Various labels", 16,
Color.BLACK, new Color(0, 0, 0, 0)));
error message:
cannot find symbol - Constructor GreenfootImage(java.lang.String,...
Hi samueldora,
That particular example in the GUIWorld on lines 53 and 54 requires the most recent version of Greenfoot (version2.0.1). Greenfoot added a new constructor to the GreenfootImage class with the latest version. You could comment out or remove those two lines if you do not want to upgrade your version of Greenfoot.
A new version of this scenario was uploaded on Sat Jun 04 20:31:00 UTC 2011
Minor changes.
A new version of this scenario was uploaded on Mon Jul 25 20:17:42 UTC 2011
A new version of this scenario was uploaded on Mon Jul 25 20:44:04 UTC 2011
A new version of this scenario was uploaded on Tue Jul 26 00:14:26 UTC 2011
A new version of this scenario was uploaded on Tue Jul 26 19:31:43 UTC 2011
A new version of this scenario was uploaded on Tue Jul 26 19:42:12 UTC 2011
Removed call to Greenfoot.getKey() when requesting focus to fix a null pointer exception that occurs on some systems.
A new version of this scenario was uploaded on Sat Aug 13 01:47:31 UTC 2011
Updated some Javadoc comments.
A new version of this scenario was uploaded on Tue Aug 16 00:59:37 UTC 2011
Fixed a minor documentation issue in TextField.
Hi MrIncredible,
I added the source code. I mistakenly forgot to check the Publish source code checkbox when I published. Thanks for pointing this out to me.
Regards,
ed parrish
Hi limefortheworld,
Thanks for the feedback. I see the effect if I like roll the "asd" keys as fast as I can, though I have not noticed it in normal typing. You must be a fast typist!
Since the component runs inside of Greenfoot, it depends on Greenfoot to handle keyboard input and buffering. I think the only thing to do for now is to increase the scenario speed as davmac suggested.
Yeah, I think this is a Greenfoot limitation caused by Greenfoot's design. I'd think it's going to be difficult to circumvent that, seeing as I tried max speed on an i5 and it still yield that error. I am not that fast of a typer, so I just wanted you to notice that. Cheers to you. :)
2011/1/30
2011/1/30
2011/2/1
2011/2/1
2011/3/6
2011/3/6
2011/4/2
2011/4/3
2011/8/16
2011/8/16
2011/8/16
2011/8/16
2011/8/17
2011/8/17
2011/8/18
2011/8/20