JComboBox problems

Hi all. I have this assignment to show a panel to allow users to dynamically alter FlowLayout manager parameters. It doesnt look that pretty, but functionally it is working for the most part. I have most of it up and running, but I simply cannot get the JComboBox working. I have to use this to set the alignment parameter: left, right, or center. How do I go about detecting the selection and then having that alter my settings? Thanks in advance for any help/advice/tips. My code thus far is:

I have been working on this some. I have gotten my window to look a little more presentable, although my text fields still are amazingly small, and I still haven't figured out how to make the JComboBox work. I have added an action listener, but I don't know how to apply a selection in the box to alter the FlowLayout manager. Here is my updated code: