How to align swing components with text vertically?

In my Editor, I have a swing component next to a normal text which currently looks like as follows:

As it can be seen, the JButtons aren't vertically aligned within the text. 

How to align both vertically, so the swing editor component has the same height as the text?


1 comment

@... Why are you spamming this thread? How does your explanation helps to solve this issue? 


Please sign in to leave a comment.