mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8212735: Compilation issue with javax.swing.InputVerifier example in javadoc section
Reviewed-by: serb
This commit is contained in:
parent
b29bab7522
commit
a445441580
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ import java.util.*;
|
|||
* getContentPane().add(field1, BorderLayout.NORTH);
|
||||
* getContentPane().add(field2, BorderLayout.SOUTH);
|
||||
*
|
||||
* field.setInputVerifier(new InputVerifier() {
|
||||
* field1.setInputVerifier(new InputVerifier() {
|
||||
* public boolean verify(JComponent input) {
|
||||
* return "pass".equals(((JTextField) input).getText());
|
||||
* }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue