Cell JLabel « JTable « Java Swing Q&A





1. How to add JLabel In a JTable cell    coderanch.com

Hi again, Thanks to U all for ur replies. I'll try to implement wat Mr.Hatim has said and i thank him again for the pain he took to give that reply. But u asked to make me clear whether u are clearing the text fields, NO i want to clear that total ROW, by deleting those text fields and even that ...

3. Setting margins JLabel cell in JTable    forums.oracle.com

Hi, I have a JTable filled with cells. The cells contain a JLabel. What I wish to do is give the labels a margin from the right. setIntercellSpacing gives a margin for both sides. I want only one side. Besides that, when selecting a row, the "spacing" area's aren't given the blue selection colour. What im looking for is a setMargin(x1, ...