import statements in java source files

Is there a way for 6.0.1 to create (or attempt to create) import statements from the source code? If so, how? I know that it gives one the class name in a tooltip, but can it create the import statements en masse for a given source file?

3 comments

Hi Rich,

What exactly do you mean? Do you want to convert, e.g. "import
javax.swing.*" to "import javax.swing.JComponent"?

Tom

0

Well, there is "add unambiguous imports on the fly" option in Editor tab. Otherwise if import is ambiguous the user has to make the choice anyway.

0

That is what I was looking for. Thanks much! So many options....... Sometimes one just doesn't know where to look for something.

0

Please sign in to leave a comment.