You cant convert it directly because the JLabel isnt a C++ class and there are other classes in C++.
You must first check which control in C++ you want to change and then understands its functions for changing the wanted properties. My tip is that you may use an
CStatic, but you may write the app at first. Take the time to understand the
GetTextExtend explained in this article.