我在使用Netbeans IDE时遇到了一些问题.我安装了v. 7.0.1,但现在javadoc的弹出窗口说:
Javadoc not found. Either Javadoc documentation for this item does not exist or
you have not added specified Javadoc in the Java Platform Manager or the Library
Manager.
Run Code Online (Sandbox Code Playgroud)
为什么不自动下载JavaDocs?我在谈论Java Platform SE的组件,方法等.
现在,当我使用内置方法时,它向我显示了返回类型,而没有其他任何有用的东西.
有什么我可以下载来使intellisense的信息更健壮吗?
找不到Javadoc.此项目的Javadoc文档不存在,或者您未在Java Platform Manager或库管理器中添加指定的Javadoc.
这是我的简单应用程序:
public class MainFrame extends JFrame{
private Dimension size;
private JPanel buttonPanel;
private JButton button;
public MainFrame() throws ClassNotFoundException{
super("Applikacja1");
try {
UIManager.setLookAndFeel("com.formdev.flatlaf.FlatDarkLaf");
} catch (Exception ex) {
}
JFrame.setDefaultLookAndFeelDecorated(true);
size = new Dimension(350, 530);
setPreferredSize(size);
setMinimumSize(size);
setLocationRelativeTo(null);
setLayout(new BorderLayout());
pack();
//setting button
button = new JButton("Start programu");
button.setVisible(true);
this.add(button);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
setResizable(false);
}
}
Run Code Online (Sandbox Code Playgroud)

我需要做什么才能将该程序的外观更改为 FlatLaf 并使用他们的库?我需要从互联网下载什么?我尝试下载整个代码(从这里https://www.formdev.com/flatlaf/),然后将其作为库添加到 netbeans 中,但它不起作用。有人可以做一个完全新手的教程吗?