I want something like this: User-------------------- Name: ID: Sex: It seems a JSeparator is suitable for this. But I refer to the API, can't find a methord to add some text. I try to use JLable + JSeparator, still there is a gap between these two components. Any suggestions? Thank you in advance.
To be or not to be. It's a question.
posted 11 years ago
Try JFrameBuilder, It may help you to do that. Btw, if you use JLable + JSeparator, you can set the gap to be 0.