I am using JSeparator as horizontal gridline. I want modify the JSeparator's continuous line display to dashed/dotted line.
I am using Gridbag layout for my JPanel.
Since I have to enable auto-resize for JSeparator, I cannot use a fixed length.
I tried overiding paint & modified stroke to display dashed line(used drawPolyLine() method). But here I have to specify a fixed length.
Kindly help me how to achive this?