Re: JFormatterTextField problem



On Wed, 12 Oct 2005 23:45:14 -0400, hilz <now@xxxxx> wrote or quoted :

>I have a JFormattedTextField and a JTextField in the same dialog.
>When i set the "enabled" property of both of them to false, both are
>disabled, but the JTextField is greyed out while the JFormattedTextField
>remains white.
>I am using the windows look and feel.
>Does anyone know why this happens? and how can i make the
>JFormattedTextField grayed out when disabled?

does this happen in a miniature test case with just a JFrame and a
JFormattedTextField?
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.



Relevant Pages

  • Problem mit Document in JFormattedTextField
    ... ein JTextField dem ich ein eigenes Document-Objekt ... im ein eigenes Document-Objekt unterschiebe, welches dann die Eingaben ... JFormattedTextField erweiter ja seinerseits JTextField und laut ...
    (de.comp.lang.java)
  • Re: JTable InputVerifier
    ... >> workaround? ... I can use this method successfully on a JTextField or ... > I've never used a JFormattedTextField, but I've heard they're trouble. ...
    (comp.lang.java.programmer)
  • Re: JTable InputVerifier
    ... I can use this method successfully on a JTextField or ... I've never used a JFormattedTextField, but I've heard they're trouble. ...
    (comp.lang.java.programmer)
  • Re: Formatted text field
    ... > how is it possible to enable only numbers input in a jFormattedTextField? ... you can have only numbers also in JTextField. ... Use Document which accepts only digits. ... http://reader.imagero.com the best java image reader. ...
    (comp.lang.java.programmer)
  • Re: JTextfield requestFocus
    ... Presumably the JTextField has to be realized before it can have focus. ... Canadian Mind Products, Roedy Green. ... http://mindprod.com Again taking new Java programming contracts. ... Prev by Date: ...
    (comp.lang.java.gui)