Wingz Widget Wingz Kernel Tech Specs Resources Support Try it
 
 

Painter plugins

Painter plugins, let you personalize each component to your own visual identity. For instance you can apply a gradient to your textfield or tiled image to your panel with an unified method setPainter().There's not limit as you can add your own painter plugins for every Wingz component.


// Construct your painter 
  ZPainter paint = new GradientPainter(Color.WHITE,Color.BLUE,
  HORIZONTAL);
              
// use it anywhere 
textfield.setPainter(paint); table.setPainter(paint); panel.setPainter(paint);

Use painter plugins into your java2D codes

Avanced users, often customize by hand a component.Now you can even use painter plugin into your java2D code.

 // Construct your painter 
 ZPainter paint = new GradientPainter(Color.WHITE,Color.BLUE,
  HORIZONTAL);
              
 ZLabel lab = new ZLabel("Hello World !!!!") {
public void paintComponent( Graphics g ) {
Ellipse2D ellipse = new Ellipse2D.Double(2,2, this.getWidth()-2, this.getHeight()-2); painter.paint(area,g);
super.paintComponent(g);
}
};

GradientPainter

From horizontal to vertical gradients, apply a color gradient to any component, to make it more visually attractive.

ImagePainter

This painter plugin paints an image into a component. Forget your own paint panel, just use ImagePainter to paint an image scaled to the size of the component. You can also tile, center, and do absolute x and y positioning on your images.

LiquidPainter

This painter produce a nice liquid effect, composed by a faded curve and a mirorGradient.You can customize all colors and parameters.

AquaPainter

This painter plugins implements an OS X style painter plugins.AquaPainter looks like a aqua button.

GlassPainter

This painter produce a modern and nice glass effect into your component.

MirorGradientPainter

MirorGradientPainter provides a way to fill a Painter component
with a linear color gradient pattern wich is mirrored at the middle of the component by default.

CompoundPainter

You can easily combine two painters. For example a horizontal GradiantPainter can be combined with an ImagePainter (with fade) for use on a table:

View screenshots


All Components



Wingz Demos

Wingz Demos : See it by yourself !

Testimonial

" The Wingz demo offers a brilliant aray of Swing components. The demo is truly remarkable."

News on javalobby.