final Button button2 = new Button("Button 2");
final Button button3 = new Button("Button 3");
final Button button4 = new Button("Button 4");
final Button[] buttons = new Button[] { button0, button1, button2, button3, button4};
TimingSource timingSource = new SWTTimingSource(16, TimeUnit.MILLISECONDS, display);
timingSource.init();
Animator.setDefaultTimingSource(timingSource);
button0.setBounds(new Rectangle(10, 10, 100, 20));
button1.setBounds(new Rectangle(120, 10, 60, 20));
button2.setBounds(new Rectangle(190, 10, 140, 20));