woot if i finaly understood you ^.^ think i need to have abit of a sleep now lol.
Limiting the amount of characters that can be put in a textfield before you cannot type anymore:
import...
Type: Posts; User: macko
woot if i finaly understood you ^.^ think i need to have abit of a sleep now lol.
Limiting the amount of characters that can be put in a textfield before you cannot type anymore:
import...
oh sorry.. do you mean you would like to only allow a certain amount of characters to be entered into the textbox ?
simply change the 20 to longer or shorter depending on the size you want it..
Echo = new JTextField(10);
Also dont bother putting "", before the int if you do not want to have default...
what do you mean by length?
Altho just an estimated guess at what your trying to do..
Try using BorderLayout:
Panel.setLayout(new BorderLayout());
Panel.add(Echo, BorderLayout.WEST);