SCJP, SCJD
SCJP, SCJD
SCJP, SCJD
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Michael Dunn wrote:and the relevance is....?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
... someone else's solution to this problem:
Rob Camick wrote:
..., but it provides increased flexibility and people alreadly complain about API bloat.
SCJP, SCJD
How is it possible to configure those fields in a way, that they only accept up to a certain number of characters?
Instead of supporting regular expressions
Besides, I already posted, that this solution using JFormattedTextField is still not the beahvior I want,
Rob Camick wrote:
The fact that you can meet your original requirment in a single line of code proves this.
Rob Camick wrote:
The fact that neight solution doesn't support a regex is irrelevant because it was not a requirement and does not make either solution less flexible.
SCJP, SCJD
The key is up to and not the word exactly.
SCJP, SCJD
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP, SCJD
When you post a concrete question, then you might also expect a concrete answer and not something like this:
look at the sun tutorial
look at the API
look at xyz ... there you can find it
rtfm
ok, I figured DocumentFilter out.
It's like wanting to paint a circle and being told to construct this object point by point because of API-flexibility
SCJP, SCJD
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |