package net.minecraft.src;
public class guioverlay extends GuiScreen
{
public void initGui()
{
this.textfield = new GuiTextField(this, this.fontRenderer, 20, 20, 20, 100, "");
this.textfield.setFocused(false);
this.textfield.setMaxStringLength(16);
}
public void keyTyped(char par1, int par2)
{
super.keyTyped(par1,par2);
this.textfield.textboxKeyTyped(par1,par2);
}
public void mouseClicked(int par1, int par2, int par3)
{
super.mouseClicked(par1, par2, par3);
this.textfield.mouseClicked(par1, par2, par3);
}
public void drawScreen(int par1, int par2, float par3)
{
this.textfield.drawTextBox();
super.drawScreen(par1, par2, par3);
}
public GuiTextField textfield;
}
ingame wird aber nicht die textbox angezeigt , kann mir wer helfen ?
mfg kyle