classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More borders


From: Sascha Brawer
Subject: More borders
Date: Mon, 23 Jun 2003 14:11:12 +0200

Hi all,

the Swing implementation of GNU Classpath is still far from being
complete, but there are now some more borders in CVS. The following
classes are believed to be fully implemented, painting the same pixels in
the same colors as the Sun JDK:

javax.swing.plaf.BorderUIResource
  javax.swing.plaf.BorderUIResource.BevelBorderUIResource
  javax.swing.plaf.BorderUIResource.CompoundBorderUIResource
  javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
  javax.swing.plaf.BorderUIResource.EtchedBorderUIResource
  javax.swing.plaf.BorderUIResource.LineBorderUIResource
  javax.swing.plaf.BorderUIResource.MatteBorderUIResource
  javax.swing.plaf.BorderUIResource.TitledBorderUIResource

javax.swing.plaf.basic.BasicBorders
  javax.swing.plaf.basic.BasicBorders.ButtonBorder
  javax.swing.plaf.basic.BasicBorders.FieldBorder
  javax.swing.plaf.basic.BasicBorders.MarginBorder
  javax.swing.plaf.basic.BasicBorders.MenuBarBorder
  javax.swing.plaf.basic.BasicBorders.RadioButtonBorder
  javax.swing.plaf.basic.BasicBorders.RolloverButtonBorder
  javax.swing.plaf.basic.BasicBorders.SplitPaneBorder
  javax.swing.plaf.basic.BasicBorders.SplitPaneDividerBorder [1]
  javax.swing.plaf.basic.BasicBorders.ToggleButtonBorder

javax.swing.plaf.basic.BasicGraphicsUtils [2]

As soon as the gjdoc tool supports this, the generated JavaDoc will
illustrate which pixels get painted in what color. For now, you can have
a look at [3] for screen shots.

As with javax.swing.border, the code has been tested by adding the
compiled bytecodes to the bootclasspath of a Sun JDK and running various
test programs, including Sun's SwingSet2 demo application.

[1] not a public API class, but returned by the public static method
    javax.swing.plaf.basic.BasicBorders.getSplitPaneDividerBorder()

[2] not a Border itself, but is used to draw many of them

[3] http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/
swing/plaf/basic/doc-files/

Thank to Michael Koch for having run japitools on his machine.

Best regards,

-- Sascha

Sascha Brawer, address@hidden, http://www.dandelis.ch/people/brawer/ 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]