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

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

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

Parameters:
label the label
newText the new text

Definition at line 570 of file PaukerFrame.java.

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


Generated by  Doxygen 1.6.0   Back to index