For example, I have:
JPanel pan = new JPanel();
then I do "pan." and eclipse shows Content Assist. In this content assist, there are all methods in JPanel class and all methods in all JPanel superclasses (a lots). I want that eclipse shows me only the methods of the JPanel class, not the methods of its superclasses.
how to do that?
Its not content assist, but you can use Ctrl + O to see all methods of class without superclass.