hey guys, i am taking AP CS in 11th grade. i am doing a final project about tower defense.
my questions are:
How to i change buttons so Run is called something else and Step will not be shown and i want to add some other labels and buttons.
how can i change these???
i looks in framework folder, but i don't really understand anything.
this is my first year btw and my teach went over GUI in like 2 days and which i was absent in one of the days.
someone please help
Gridworld GUI need help fast
Page 1 of 12 Replies - 8661 Views - Last Post: 18 October 2011 - 09:06 PM
Replies To: Gridworld GUI need help fast
#2
Re: Gridworld GUI need help fast
Posted 11 May 2011 - 05:53 PM
Find where the button is created and do buttonName.setText("WhateverYouWantHere");
#3
Re: Gridworld GUI need help fast
Posted 18 October 2011 - 09:06 PM
in answer to the Step removal, simply find the Button called Step in the GUI class(wherever it is actually printed) and comment it out with two backslashes "//". this will not get rid of the Button as an object, so your code should still compile, it will simply not show the Button in your GUI.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote





|