I've been reading about it for the past 45 minutes and I still have no Idea how they limit the characters:
For example, i found the next code:
class DocumentInputFilter extends DocumentFilter...
Type: Posts; User: JosPhantasmE
I've been reading about it for the past 45 minutes and I still have no Idea how they limit the characters:
For example, i found the next code:
class DocumentInputFilter extends DocumentFilter...
Okay, I updated my code to this:
JPanel userPanel = new JPanel();
userPanel.setLayout(new GridLayout(2,1));
JLabel posLbl = new JLabel("POS #:");
posLbl.setFont(font2);...
I have the next dialog to pop up and ask the user for some info:
String id = (String)JOptionPane.showInputDialog(
null,
"Post #",
"Información del cliente.",...