Playground

The simple playground for the advanced visual components. Uses layout manager for layoing out the components when starting the applet.

Components can be freely repositioned in the playground. Components can be re-arranged again by clicking the right-mouse button anywhere in the playground space.

Deafult version creates 7 bricks and 7 circles with color equally distrubited in the spectra.


Source code

Playground.java

Brick.java

Circle.java


Components are inherited from the class Component2 for the extra abilities. Though they can be also inherited just from the standard Component class.

Component2.java

DraggingAdapter.java

HighlightingAdapter.java

SpecialAdapter.java


The applet

ALT="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is ignoring the <APPLET> tag!