Hi,
When try to add border it change the whole backgroud color as border color white.
any idea whats wrong with my code.
return {"background":dbcolor2,'font': dfont2,'border':BorderFactory.createMatteBorder(0,0,0,1, system.gui.color(255,0,0))}
Hi,
When try to add border it change the whole backgroud color as border color white.
any idea whats wrong with my code.
return {"background":dbcolor2,'font': dfont2,'border':BorderFactory.createMatteBorder(0,0,0,1, system.gui.color(255,0,0))}
This would only apply a border on the vertical lines.
Is this line of code present in your extension function?
from javax.swing import BorderFactory
Are the dbcolor2 and dfont2 defined. I can't see these things from the line of code you've provided.
Check the diagnostic console and see if there are any errors. This will likely point you in the right direction.
Thanks alot. from javax.swing import BorderFactory was missing in my code.