我正在为我的笔记本电脑开发一个工具。我想禁用JFrame中的最小化按钮。我已经禁用了最大化和关闭按钮。
以下是禁用最大化和关闭按钮的代码:
JFrame frame = new JFrame();
frame.setResizable(false); //Disable the Resize Button
// Disable the Close button
frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
请告诉我如何禁用最小化按钮。