need some guidance on how to make JTable look something like this:
[img]http://imgkk.com/i/pQTxSCQf.jpg[/img]
so far on searching i'v found nothing concrete and what i have found is scrambled between multiple .java and hundreds of lines. not readable to me.
what/where should i look into that would provide me a skeleton-like table like this?

Recommended Answers

All 3 Replies

Anything like that is going to be a custom header renderer - which as you noted is "hundreds of lines". It's not a trivial thing that you do in a couple of lines of code. I assume you ran across this implementation: http://www.esus.com/docs/GetQuestionPage.jsp?uid=1272

i indeed ran across this jazz of-a-code.
so its basically either i do it by the principles shown at esus or i dont do custom header renderer at all?

You may find a few different ways to accomplish it, but basically it's going to involve steps similar to that example.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.