有没有办法显示split view El Capitan 中我的 Frame
上的按钮?目前,我只获得“+”(最大化)按钮,但我希望我的应用程序与分割 View 兼容。
使用任何框架
都可以轻松重现。
public class Test {
public static void main(String [] args)
{
JFrame frame = new JFrame();
JPanel pane = new JPanel();
pane.add(new JLabel("Hello World!"));
frame.setContentPane(pane);
frame.pack();
frame.setVisible(true);
}
}
最佳答案
如图here ,您可以启用full-screen button以获得您想要的效果。
关于java - 在 JFrame 上启用 Split View,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36228343/