hello world , swing style
hello world , swing style
import javax.swing.JOptionPane;
public class Swing {
public static void main(String[] args) {
JOptionPane.showMessageDialog( null, "Hello World!" );
}
}
Related posts:
- Dialog box in swing javax.swing.JOptionPane.showMessageDialog(null,ou); var swing = new Class("javax.swing.JOptionPane"); swing.showMessageDialog(null,""); ...
- JDBC and MySQL import java.util.logging.Level; import java.util.logging.Logger; // import com.mysql.jdbc.*; import java.sql.*;...
- Screen capture example import java.awt.AWTException; import java.awt.Robot; import java.awt.Rectangle; import java.awt.Toolkit; import...
- Read a file import java.net.*; import java.io.*; public class URLReader { ...
- File read and write example import java.util.Vector; import java.io.*; public class FileUtility { ...
Related posts brought to you by Yet Another Related Posts Plugin.
Tags: JOptionPane, showMessageDialog

