I am new to Java. My problem is that I have MyClassExp class names. I expanded it from JFrame. Inside the class, I initiate an object of another class called TabbedFrame. TabbedFrame also extends the DemoFrame class. In DemoFrame, I have a page set header using the keyword "super", for example:
super("Some Title");
Now when I run MyClassExp, even after creating the JFrame as:
new JFrame("New Title");
I still get the same name ie Some Title. Is there any way to solve this problem? I tried a lot to solve, but could not: '(
source share