There is no different between making an interface in a chatbox, inventory or screen.
Use frame164 to test chatbox.
Code:
public void displayChatInterface(int interface) {
outStream.createFrame(164);
outStream.writeWordBigEndian_dup(interface);
flushOutStream();
}
And as in for your siggy for Jdiddy,
Code:
public void Jdiddy(String name)
{
boolean RepWhore = false;
if (name.contains("Jdiddy))
{
RepWhore = true;
System.out.println("You are a rep whore congrats!");
}
else
{
RepWhore = false;
System.out.println("your not Jdiddy.. enjoy ur rep!");
}
}
RepWhore is already false so else making it false theres no point. Unless your first going to make the boolean a null and It should be repWhore and grammar in Java programming is nice.
Code:
public void Jdiddy(String name) {
boolean RepWhore = false;
if(name.contains("Jdiddy)) {
RepWhore = true;
System.out.println("You are a rep whore congrats!");
} else {
System.out.println("Your not Jdiddy... Enjoy your rep!");
}
}
Doesn't look bad either... Braces should be on the same line as the method or statement that they are needed at, that what I read at java tutorials.
or
Code:
public void Jdiddy(String name)
{
boolean RepWhore = false;
if(name.contains("Jdiddy)) {
RepWhore = true;
System.out.println("You are a rep whore congrats!");
} else {
System.out.println("Your not Jdiddy... Enjoy your rep!");
}
}
Because it looks better.