2 Replies - 11693 Views - Last Post: 18 October 2011 - 09:06 PM Rate Topic: -----

#1 nikhildrummer  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 09-May 11

Gridworld GUI need help fast

Posted 09 May 2011 - 11:34 PM

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

Is This A Good Question/Topic? 0
  • +

Replies To: Gridworld GUI need help fast

#2 Your Restrain  Icon User is offline

  • New D.I.C Head

Reputation: -9
  • View blog
  • Posts: 19
  • Joined: 23-October 10

Re: Gridworld GUI need help fast

Posted 11 May 2011 - 05:53 PM

Find where the button is created and do buttonName.setText("WhateverYouWantHere");
Was This Post Helpful? 0
  • +
  • -

#3 charpede  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 24
  • Joined: 18-October 11

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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1