Your question is a bit confusing and hard to understand, because you're using strange terminology. These sentences are correct and mean something:
- a class extends another class
- a class implements an interface
- a class inherits methods from its parent class
These sentences are inappropriate, unclear:
- a class inherits another class
- violate generalization concept
Especially without code, I can only guess what you're asking, but I try to answer anyway:
- a class that extends JFrame and at the same time implements an action listener interface, violates the single responsibility principle by being 2 things at once
- a class that extends JFrame and at the same time contains some logic not related to displaying or configuring a JFrame, violates the single responsibility principle by doing 2 things at the same time. It also violates good separation of model-view-controller
- a class that extends JFrame, but in terms of its behavior / implementation it's not mainly a JFrame but something else, then it violates the abstraction of a JFrame, and it shouldn't extend JFrame but possibly contain it instead