Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Generated Object

A javax.swing.border.EmptyBorder, a border whose margins are not painted with anything.

Value Argument

Either an Integer or an array of four Integers. 

A single integer is expanded to an array of four integers of the same value.

An array of four integers is used to generate the top, left, bottom, and right margins, respectively.

If a value argument is used then the top:, left:, bottom:, and right: attributes cannot be used. 


If any of top:, left:, bottom:, or right: are specified the all of them must be specified.

  • top <int> the top margin of the border
  • left <int> the left margin of the border
  • bottom <int> the bottom margin of the border
  • right <int> the right margin of the border
  • parent <boolean> Whether or not this border is to be added to the parent JComponent


[Describe the content accepted in the node closure. If no content is accepted, state that]


[Describe the usage cases for this node, if they are not obvious. Remove section if not needed.]


[Provide an example of the node. Remove section if not needed.]

  • No labels