Hi,
I am trying to make a JFrame that covers full screen, but the windows taskbar should remain visible. Just as a normal application like your browser.
I already have this:
//Prepare frame
frmMain = new JFrame ("Invoice main screen"); //Create frame
//frmMain.setSize(Toolkit.getDefaultToolkit().getScreenSize());
frmMain.setExtendedState(JFrame.MAXIMIZED_BOTH); //maximize screen
frmMain.setVisible(true);
frmMain.setResizable(false);
frmMain.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
I tried the setSize and the setExtendedState, but it still covers my taskbar.
Any ideas?