[Original] SWING Tips .2: Full of WINDOW

xiaoxiao2021-03-06  42

[Original] the Swing technique .2: // the window to full screen window to full screen // Window, Frame, Dialog, JWindow, JFrame, JDialog effective public static void setSizeFullOfScreen (Window window) {Dimension screenSize = Toolkit.getDefaultToolkit () . GetScreensize (); window.setbounds (0, 0, screensize.width, screensize.height);}

转载请注明原文地址:https://www.9cbs.com/read-57293.html

New Post(0)