java - How do I reference the JFrame when the class extends JFrame -
what's name of jframe when class extends jframe ie:
public class frameclass extends jframe{ public frameclass (){ super("name") }
basically, want utilize in itemlistener jradiobutton have internal method. have not extend jframe class , create jframe object utilize within internal method, or there name reference by, such frameclass
.
edit: guess there slight confusion towards set in text above. how i'm trying utilize it:
public void itemstatechanged(itemevent e) { setundecorated(true); setresizable(false); vc.setfullscreenwindow(); }
i cannot utilize this
because uses itemevent e.
i'm not sure mean name of jframe. if want pass reference apps jframe somewhere if extend jframe frameclass class is jframe. in case /this/ right "name".
java jframe
No comments:
Post a Comment