Community
Participate
Working Groups
Right clicking on a java class and clicking Refactor-> Extract Interface opens the Extract Interface dialog. The name of the new interface created is left blank. Whenever I create a new interface I simply add the letter I to the name of the class. I believe most java programmers use a prefix or suffix attached to the class name. It would be nice to have a default name in the dialog, possibly with a prefix or suffix defined in the java preferences page. This problem causes more irritation due to the fact that the dialog is modal. You must copy the name of the class before opening the dialog and then paste it in the name field and add an I as a prefix. If you forget to copy the name of the class, you must either type it in manually or close the dialog and start anew.