Wednesday, July 8, 2015

Java Basics 1

The video is a little hard to read, so here are the Java functions used in the video.

System.out.println("What you want to print"); --- this function is for printing something

import javax.swing.JOptionPane;--- what you use to import the message bow function

JOptionPane.showMessageDialog(null, "What you want to print")---  this function creates a message box

JOptionPane.showInputDialog("What you want to print")--- function to create an input box


No comments:

Post a Comment