• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Thread

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i'm doing a mobile application where i can connect to google takl through my phone. there i'm declaring a text wit 200 inputs but when the chat goes on i want to increse the capacity of the text field can any one help me???


public class GetReply extends Thread {

public void run() {

status = true;
while (status) {
if (getTextField3().getString().length() < 50) {
reply = chat.getHistory();
textField3.setString(reply);
System.out.println(reply);
System.out.println(getTextField3().getString().length());
} else {
textField3.delete(0, getTextField3().getString().length());
status = false;
status =true;
// textField3.setString(textField3.);

}
}
try {
GetReply.sleep(2000);
} catch (InterruptedException ex) {
ex.printStackTrace();
}
}
}
 
reply
    Bookmark Topic Watch Topic
  • New Topic