Setting general properties for beans

The property sheet for individual beans is different depending on the bean. However, there are property settings similar for many beans. The following table lists the property, possible values, and descriptions:
Property... Description of Values
alignmentX and alignmentY Swing components--Assigns component position within BoxLayout. If border layout is specified as being X_Axis, you can change the alignmentY to -1 for top or 1 for bottom. If the Y_Axis is specified, you can change the alignmentX to -1 for left or 1 for right.
background and foregrount Chose from Basic, System, or RGB colors to replace the default colors.
beanName Enter the replacement name for the default beanName. This is the name used in code to identify the bean.
border Specify the border type for your component. The border type can be your own code string or chosen from the bean implementing interface list.
constraints Including x and y constraints (for position placement within the container) and width and height (for size of the component).
cursor You can specify a cursor type for each component. For example, when the user points to the target button,
doubleBuffered Boolean value--Sets whether the receiving component uses a buffer to paint. If set to true, the painting is performed to an offscreen buffer and then copied to the screen. If a component is buffered and one of its ancestor is also buffered, the ancestor buffer is used.
enabled Boolean value--An enabled component responds to user input and generates events. Components are enabled initially by default.
font Specify the name, style, and size of the text font within the component.
locale Specify the language and country codes. The default is en_US and represents English language code with the United States country code. Language codes must be ISO-639 compliant and Country codes must be ISO-3166 compliant.
nextFocusableComponent Specify the next focusable component.
opaque Boolean value--If a Swing component is set to opaque, the Swing painting system does not paint anything behind the component.
preferredSize The preferred size indicates the best size for the component. Enter new dimensions to change the default. However, certain layout managers ignore this property.
requestFocusEnabled Request that the component get the keyboard focus.
text Specify the text you want to appear within the component.
toolTipText For Swing components-- Enter text you want to appear as fly-over text or hover help. To provide tool tip text for table cells, enter the toolTipText for the cell renderer.
visible Boolean value--When set to true, default, the component is visible.