package com.samovich.cop2800.chapter1;

import javax.swing.JOptionPane;

/**
 * Filename java-technologies
 * Created by Valery Samovich
 * Written on 5/14/16
 */
public class MyInformation {

    public static void main(String[] args) {
        JOptionPane.showMessageDialog(null, "My name is Valery Samovich and my major is Computer Programming & Analysis", "Student Info", JOptionPane.INFORMATION_MESSAGE);
    }

}

Add MyInformation java file