Exemplo n.º 1
0
 @Override
 public void removeNotify() {
   // This method gets called when this Preview is removed.
   super.removeNotify();
 }
Exemplo n.º 2
0
 @Override
 public void addNotify() {
   // This method gets called when this Preview is added.
   engine.update(null, false);
   super.addNotify();
 }