Search
Sponsors
Sponsors

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:

  1. Dialog box in swing   javax.swing.JOptionPane.showMessageDialog(null,ou); var swing = new Class("javax.swing.JOptionPane"); swing.showMessageDialog(null,""); ...
  2. JDBC and MySQL   import java.util.logging.Level; import java.util.logging.Logger; // import com.mysql.jdbc.*; import java.sql.*;...
  3. Screen capture example   import java.awt.AWTException; import java.awt.Robot; import java.awt.Rectangle; import java.awt.Toolkit; import...
  4. Read a file   import java.net.*; import java.io.*; public class URLReader {    ...
  5. 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: ,

Leave a Reply

Translate