What's the name of the JFrame when the class extends JFrame ie:
public class FrameClass extends JFrame{
public FrameClass (){
super("name")
}
Basically, I want to use it in an ItemListener for a JRadioButton so I have an internal method. Would I just have to not extend the JFrame class and make a JFrame object to use it inside the internal method, or is there a name I could reference it by, such as FrameClass
.
EDIT: I guess there is a slight confusion towards what I put in text above. This is how I'm trying to use it:
public void itemStateChanged(ItemEvent e) {
setUndecorated(true);
setResizable(false);
vc.setFullScreenWindow();
}
I cannot use this
because that uses ItemEvent e.