Change multiple components at the same time in Java
Description
The following code shows how to change multiple components at the same time.
Example
// w w w. j a va 2 s . c o m
import java.util.Calendar;
public class Main {
public static void main(String[] args) {
Calendar calendar = Calendar.getInstance();
calendar.set(2001, 1, 1);
}
}