Commit 615af656 by Roman Kennke Committed by Michael Koch

JComponent.java: Modified alignmentX and alignmentY to be 0.5 instead of 0.0.

2005-04-19  Roman Kennke  <roman@kennke.org>

	* javax/swing/JComponent.java:
	Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
	Untabified the file.

From-SVN: r98377
parent a7661a40
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/JComponent.java:
Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
Untabified the file.
2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch> 2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
* javax/swing/JComboBox.java (constructors): selecting the * javax/swing/JComboBox.java (constructors): selecting the
......
...@@ -175,7 +175,7 @@ public abstract class JComponent extends Container implements Serializable ...@@ -175,7 +175,7 @@ public abstract class JComponent extends Container implements Serializable
* @see javax.swing.OverlayLayout * @see javax.swing.OverlayLayout
* @see javax.swing.BoxLayout * @see javax.swing.BoxLayout
*/ */
float alignmentX = 0.0f; float alignmentX = 0.5f;
/** /**
* A value between 0.0 and 1.0 indicating the preferred vertical * A value between 0.0 and 1.0 indicating the preferred vertical
...@@ -190,7 +190,7 @@ public abstract class JComponent extends Container implements Serializable ...@@ -190,7 +190,7 @@ public abstract class JComponent extends Container implements Serializable
* @see javax.swing.OverlayLayout * @see javax.swing.OverlayLayout
* @see javax.swing.BoxLayout * @see javax.swing.BoxLayout
*/ */
float alignmentY = 0.0f; float alignmentY = 0.5f;
/** /**
* The border painted around this component. * The border painted around this component.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment