Bypassing "Attempt to Mutilate"

13lade619

is now a game developer :)
Reaction score
399
Using Java, btw.

Basically, I want my textfield to be cleared right after I type a certain string say "X"

I'm using Textfield.setText("");

But it I'm always getting the "Attempt to Mutilate" Error.. Any help?


I need this quick... THanks in advanced!
 

Sgqvur

FullOfUltimateTruthsAndEt ernalPrinciples, i.e shi
Reaction score
62
On every key press check if the current textfield.text equals "X".
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top