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

2013/5/26

Opening windows

1
2
allekalle allekalle

2013/5/29

#
Thanks for all the code, danpost! It certainly looks interesting. (And I am curious how the code for the scenario looks like). There is only one thing missing for the windows: the windows should be OUTSIDE the world window. I am now not even certain that this is possible in Greenfoot. Thanks! Karl
danpost danpost

2013/5/29

#
Most of the code was given above. We could give the ControlPanel object the ability to collapse and expand. And the Greenfoot window could be made large enough to give separation between the play area and the panels, essentially allowing them to be outside the play area.
allekalle allekalle

2013/5/30

#
OK, thanks. I guess I stumbled across a limitation of Greenfoot. I was under the impression that the entire Java was possible to use. Does anybody know if it is possible to use Greenfoot in Netbeans? Cheers, Karl
danpost danpost

2013/5/30

#
Type 'netbeans' in the search bar and review some of the discussion links that come up.
davmac davmac

2013/5/30

#
I guess I stumbled across a limitation of Greenfoot. I was under the impression that the entire Java was possible to use.
I think you've misunderstood something. You can use Swing with Greenfoot, it's just very difficult to do it right. That's arguably more of a limitation of Swing than it is of Greenfoot.
You need to login to post a reply.
1
2