0
Java Question. Autocomplete and other things.
I'm currently learning Java so i'm a beginner. I tried to make a program with the JOptionPane Output. I know that i need to import the javax.swing but i've seen that when you write JOptionPane it automatically get's imported, unluckily that does not happen for me. Does somebody knows why? And also , is there a combination of keys for seeing the autocomplete window?
2 Réponses
0
Which IDE do you use? IDE's usually provide the auto-import feature. It recognizes classes/methods you haven't imported yet and suggests you missing import statements.
Ctrl + Shift + O imports packages automatically in IntelliJ. There have to be equivalent key combinations in other IDE's. Search for them in Google.
This feature might be disabled in your IDE.
0
Im using NetBeans