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?

 

0
1 comment

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

0

Please sign in to leave a comment.