Пример #1
0
 public void actionPerformed(ActionEvent e) {
   setVisible(false);
   if (e.getSource() == ok) {
     engine.setPoolOptions(
         resolution.getValue(), false /*gouraud.getState() gouraud.isEnabled()*/);
     setVisible(false);
   }
 }
Пример #2
0
 public TwoMedia(String title, String world) {
   super(title, world, true, false);
   engine = new Engine(this);
   engine.start();
 }
Пример #3
0
 public void stop() {
   engine.play();
   engine.exit();
 }
Пример #4
0
  public void start() {

    engine = new Engine(this);

    engine.start();
  }