netbeans 如何在编译后的源文件中改变源代码的灰色?

bwntbbo3  于 2022-11-29  发布在  其他
关注(0)|答案(1)|浏览(246)

我在Windows 10 x64和JDK 19上使用Netbeans 15。

例如,我看到源

/**
     * Prints a double and then terminates the line.  This method behaves as
     * though it invokes {@link #print(double)} and then
     * {@link #println()}.
     *
     * @param x  The {@code double} to be printed.
     */
    public void println(double x) {
        if (getClass() == PrintStream.class) {
            writeln(String.valueOf(x));
        } else {
            synchronized (this) {
                print(x);
                newLine();
            }
        }
    }

如何在编译后的源文件中改变源代码的灰色?

zkure5ic

zkure5ic1#

您可能会看到它的灰色背景,因为它是一个只读文件。
转到Tools -> Options -> Fonts & Colors -> Highlighting -> Readonly files并将Background颜色更改为白色。

相关问题