Logo Search packages:      
Sourcecode: pauker version File versions  Download package

static void pauker::program::gui::swing::PaukerFrame::lazyStringChange ( JTextField  textField,
String  newText 
) [inline, static]

executes a lazy string change on a text field (i.e. the string is not changed if the new text is equal)

Parameters:
textField the text field
newText the new text

Definition at line 558 of file PaukerFrame.java.

                                                                              {
        if (!textField.getText().equals(newText)) {
            textField.setText(newText);
        }
    }


Generated by  Doxygen 1.6.0   Back to index