acces aux fonctions de classe interne
comment acceder aux fonction de classe inetrne voila le code :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| public class TextDecimal extends JTextField
{
public class TextDecimalVerifier extends InputVerifier {
DecimalFormat format=new DecimalFormat();
public TextDecimalVerifier(DecimalFormat format_passe) {
format=format_passe;
}
public boolean verify(JComponent input) {
if (input instanceof JTextField)
{
String txt=((JTextField)input).getText();
if (txt.equals(""))
{return true;}
if (format != null)
} |
je veux acceder a la fonction
Code:
verify(JComponent input)
est elle possible