Chris Dancy wrote:So i've over-riden jtextfield to make it a bit more prettier and as such the cursor is gone within. How would I go about getting this back?
That doesn't tell us much really. Post your code or give us more informations (such as what you did exactly to make it look prettier).
Chris Dancy wrote:if I use super.paintComponent() that will mess up the drawing of the component.
If you choose to do these things yourself, more power to you.
You can't really expect it to paint the caret automatically if you're drawing the text yourself. How could it position it correctly?