Posted here: https://coderanch.com/t/753741/java/setAlignment-effect
Can you post the working code here?
Type: Posts; User: Norm
Posted here: https://coderanch.com/t/753741/java/setAlignment-effect
Can you post the working code here?
Check the calls to the setAllgnment methods.
The code appears to put contents on two rows.
Try posting on this site: https://coderanch.com/forums
There are more people there that know...
Can you describe what happens when the code is executed?
Then describe what you want to be different.