Cell ImageIcon « JTable « Java Swing Q&A





1. Rotating an imageicon in JTable cells    coderanch.com

i tried putting together something from what i found on the net, but i have an error in drawImage. What should i put for the parameters Image? i cant cast my imageicon to an Image nor Graphics. please point out if there are any other parts which i did not do/did wrongly. thanks. class Mycellrender extends DefaultTableCellRenderer { ImageIcon test = ...