Press Ctrl+Space to display pop up menu

Hi....I want to allow users can pop up a list by pressing Ctrl+Space when they're typing in a JTextArea...I'm using JPopupMenu to pop up the list...But i don't know how to get the x and y position of the text cursor..can anyone help me....?
[285 byte] By [Bluerocka] at [2007-10-2 7:59:51]
# 1
textArea.modelToView( textArea.getCaretPosition() );
camickra at 2007-7-16 21:51:26 > top of Java-index,Desktop,Core GUI APIs...
# 2
Ok thanks...
Bluerocka at 2007-7-16 21:51:26 > top of Java-index,Desktop,Core GUI APIs...