Example #1
0
 public void actionPerformed(ActionEvent e) {
   setVisible(false);
   if (e.getSource() == ok) {
     engine.setPoolOptions(
         resolution.getValue(), false /*gouraud.getState() gouraud.isEnabled()*/);
     setVisible(false);
   }
 }
Example #2
0
 public void setup(int res, boolean npv) {
   resolution.setValue(res);
   // gouraud.setEnabled(npv);
 }