> 
> //////////////////////
> package digigod.jade.saver;
> 
> import java.awt.*;
> 
> public abstract class ScreenSaver implements Runnable {
>  private Graphics2D g;
> 
>  public boolean isCongigurable() {
>   return false;
>  }
> 
>  public void showConfigurationDialog() {
>   return;
>  }
> 
>  public String getDescription() {
>   return "A ScreenSaver";
>  }
> 
>  public Toolkit getDefaultToolkit() { //convience method
>   return Toolkit.getDefaultToolkit();
>  }
> 
>  public void init(Graphics2D g2d) {
>   g = g2d;
>  }
> 
>  public Graphics2D getGraphics() {
>   return g;
>  }
> 
>  public abstract void run();
> 
>  public void dispose() {
>   g.dispose();
>  }
> }
> //////////////////////
> 

Looks good! So JADE is responsible for initializing the graphics
context? (It appears that way.)  I'm not incredibly familiar with
JavaBeans, but maybe we should make the screen saver a bean, so that it
is easily configurable and could be embedded into applications or the
desktop environment.  There should probably be an option for double
buffering, too.

Maybe something we can work on soon is a taskbar/bean container widget
for the UI.  That would be fun and we could test it right away (I like
things I can get a good grip on!)

I think I'll follow your footsteps and name the tookit-peer package
seancribbs.jade.core. =�

Later,

Sean Cribbs

_______________________________________________
UI maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/ui

Reply via email to