I'm definitely not the best at explaining problem but let me try.
I have an applet with me. In a JTabel
I have one column as checkbox.
I want to have text added to it in the header only such that I have some text and than in the next line I have the checkbox.
Using headerRenderer
setText is not helping my cause as it appends the test to the checkbox instead of introducing a new line. Moreover I would like to avoid using JPanel
because I think it will create lot more problems for me.
Can anyone suggest how I can get this done?
If JPanel
is the only option can someone tell me how do I use that.