Good day ... The following sample code demonstrates what feels like a
problem with navigating inner classes. I'm using JDK1.3.1 & Build #517
under Windows NT4.0, sp6.
import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
public class Test extends Frame
{
public static void main(String[] arg) {
final Test myTest = new Test();
myTest.addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e) {
myTest.setVisible(false); // 1
}
public void windowOpened(WindowEvent e) {
myTest.setVisible(true); // 2
}
});
}
}
With the cursor on either of the interface methods of the anonymous inner
class (e.g., on the line with the "1" comment or the "2" comment), press
ALT+Up or ALT+Down. IDEA acts as though it knows about only the main()
method, and not the WindowAdapter methods windowClosing() and
windowOpened(). That is, the cursor jumps from the beginning of main() to
its end.
It would be helpful if the alt+up/down navigation keys could be used to
locate the start of each implemented method of the WindowAdapter. I use
this structure a lot, and it's a pain to not be able to navigate among the
inner methods.
Thanks!
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list