All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.samples.java.ex.NIR_Sample Maven / Gradle / Ivy

Go to download

An auxiliary findbugs.sourceforge.net plugin for java bug detectors that fall outside the narrow scope of detectors to be packaged with the product itself.

The newest version!
package ex;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

@SuppressWarnings("all")
public class NIR_Sample extends JFrame {
    public static final int NIR_VALUE = 1;

    public NIR_Sample getSample() {
        return this;
    }

    public void test1() {
        System.out.println(getSample().NIR_VALUE);
    }

    public void test2() {
        System.out.println(getColorModel().TRANSLUCENT);
    }

    public void test3() {
        getSample().staticMethod();
    }

    public void fpStacked() {
        JButton ok = new JButton("ok");
        JButton cancel = new JButton("cancel");
        JPanel p = new JPanel();
        p.add(ok);
        p.add(cancel);
    }

    public static void staticMethod() {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy