Question

In my project i need to draw a facility plan.

I need to draw table made from squares and i tought i can make it with JTable component.

But there is one more thing i need: I need to set different borders every cell but also i need to draw border to different sides of cells.

Here are my questions:

Is there any way to process every cell different? Is there any component to do this? Or is there any options to do, without jtable?

thank you so much. regards

Was it helpful?

Solution

Check out Table Row Rendering. It gives an example of how you might customize the Border for all cells in a row. You should be able to customize for your exact requirement.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top