-
FEATURED COMPONENTS
First time here? Check out the FAQ!
@giga
Hi giga, i think you should trans the words by your self, there's no such method can do this.
Regards
/Joy
Not associated to ZK, however a fine example of uppercasing, and checking content:
private void addComputer() {
final String PC_NAME =
addComputerDetailsPC_NAME.getText().toUpperCase().trim();
if (!PC_NAME.matches("^[0-9A-Z\\.]{1,10}$")){
Window.alert("'" + PC_NAME + "' is not a valid character.");
addComputerDetailsPC_NAME.selectAll();
return;
}
Asked: 2009-11-21 14:14:40 +0800
Seen: 557 times
Last updated: Nov 23 '09