Java Swing Full Screen window Application without Maximize, Minimize, Exit Buttons By Kumaran Kanniappan July 04, 2013 Code For FullScreen Java Swing Desktop Application package fullscreen; import java.awt.Toolkit; import javax.swing.JFrame; public class FullScreen extends JFrame { /** * full screen code using Java Swing component JFrame */ static JFrame f= new FullScreen(); public FullScreen() { setUndecorated(true); //removing Max, min, Exit buttons setSize(Toolkit.getDefaultToolkit().getScreenSize()); //set window size as full screen setVisible(true); } public static void main(String[] args) { // no code here } } Output Screen Share Get link Facebook X Pinterest Email Other Apps Labels java swing Share Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment
Share this to your friends