Why "Control + Space " auto-complete help doesn't work for paintComponent() method and it needs to be typed in completely?
Asked
Active
Viewed 72 times
0
-
Can you tell as the os version and eclipse version! – KostasC Jun 18 '15 at 06:04
-
Or you can see this [link](http://stackoverflow.com/questions/17358312/code-assist-ctrlspace-doesnt-work-on-eclipse-kepler). – KostasC Jun 18 '15 at 06:06
-
eclipse - Luna Service Release 2 (4.4.2), OS- windows 7. Auto complete works for other features, not for this one only – Pallab Jun 18 '15 at 06:10
2 Answers
0
Its because there might be an ambiguity between the paintcomponent of AWT/Swing and the parameters that it needs consists of 1D and 2D graphics. You might have imported both of them.

Basit
- 936
- 5
- 13
0
Probably error. In case of error sometimes eclipse didn't show error, but in result members aren't listed for auto complete.

Kostadin
- 2,499
- 5
- 34
- 58
-
only for that particular method its not giving that feature, though its working fine for others. Does it shows for you ? – Pallab Jun 18 '15 at 14:07