valueChanged(ListSelectionEvent e){}

解决方案 »

  1.   

    methodName(ListSelectionEvent e){}
      

  2.   

    If you'are not sure, probably the best way to find out what should be used is to compile it without any method and of course the compiler will issue error message showing that you class should be declared as abstract class because you're implementing the required method(s) that the listener interface required. In many cases, you can learn by reading error message because in java every run time error are all catched by exception handling mechanism that is much each to understand and more informative than those of VC.