1. JFrame with common behaviour - composition or inheritance? stackoverflow.comI have three similar classes responsible for displaying swing frame with various components. They all are composed with JFrame and contain the same duplicating setRandomLocation() method. In order to get ... |
2. inheriting a constructor from a JFrame forums.oracle.comSo I know you can't inherit constructors but here's the deal: I have a class that extends from JFrame, the JFrame has a constructor that receives a GraphicsConfiguration object, so the JFrame creates itself on the screendevice specified by the object, I need my class to be constructed in another screen, but I don't know how to do it because I ... |