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

Comments for GUI World

Return to GUI World

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.
samueldorasamueldora

2011/1/30

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,...
edparrishedparrish

2011/1/30

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.
samueldorasamueldora

2011/2/1

Hi edparrish, Thank you for your help! Next time I will have a closer look at the comments.
edparrishedparrish

2011/2/1

Hi samueldora, You are welcome! And thank you for the feedback.
mikmik

2011/3/6

Very nice. There are now at least 3 GUI projets - maybe we should look at merging them. They all have something that the others don't.
edparrishedparrish

2011/3/6

Hi mik, Thank you for the compliment! I would be willing to participate in collaborative efforts.
HermanHerman

2011/4/2

Cool! I like the look and feel of your GUI World.
edparrishedparrish

2011/4/3

Hi Herman, Thanks!
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.
MrIncredibleMrIncredible

2011/8/16

Can you publish the source code ? I wanna take some buttons like described in here ! MrIncredible
A new version of this scenario was uploaded on Tue Aug 16 16:47:59 UTC 2011 Added souce code since I mistakenly forgot to check the box.
edparrishedparrish

2011/8/16

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
I like. But there is significant input delay for the text box to a point where fast typing will cause characters to be skipped.
I like. But there is significant input delay for the text box to a point where fast typing will cause characters to be skipped.
davmacdavmac

2011/8/17

limefortheworld, just increasing the speed of the scenario should help with that (use the speed slider).
edparrishedparrish

2011/8/17

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. :)
edparrishedparrish

2011/8/20

Hi limefortheworld, Thanks again for the feedback. I think I was pushing the envelope with the TextField. :) Regards, Ed Parrish