I don't know why soout in Java.

xiaoxiao2021-03-06  40

Swing in Java has a layout manager. They are: borderlayoutflowLayoutGridLayoutcardLayoutGridbagLayoutBoxLayout why is there so much? I am not clear. However, I like to use there is no layout manager, as if the benefits of using the manager are the control on the surface, the window, the window, the font size. There is no better, and the general book is recommended to use the format. If you don't want to use, as long as: jframe f = new jframe (); container contentpane = f.getContentPane (); contentpane.setLayout (null); above.

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

New Post(0)