import java.util.Random;
import java.awt.*;

a30021456 發表在 痞客邦 留言(0) 人氣()

import java.io.*;
import javax.swing.*;

a30021456 發表在 痞客邦 留言(0) 人氣()

未命名

import java.awt.*;

a30021456 發表在 痞客邦 留言(0) 人氣()

class For {
public static void main(String[] args) {

a30021456 發表在 痞客邦 留言(0) 人氣()

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class Test
{


public static void main(String[] args)
{
JFrame jtfMainFrame = new JFrame("Which Button Demo");
jtfMainFrame.setSize(450, 150);
JButton jbnButton1 = new JButton("Button 1");
JButton jbnButton2 = new JButton("Button 2");
JButton jbnButton3 = new JButton("Button 3");
JButton jbnButton4 = new JButton("Button 4");
JButton jbnButton5 = new JButton("Button 5");
JButton jbnButton6 = new JButton("Button 6");
JButton jbnButton7 = new JButton("Button 7");
JButton jbnButton8 = new JButton("Button 8");
JButton jbnButton9 = new JButton("Button 9");
jbnButton1.addActionListener(new ActionListener() {

a30021456 發表在 痞客邦 留言(0) 人氣()

class test
{
public static void main(String[] args)
{
;
}
}

1427437110-2327037667_n  

a30021456 發表在 痞客邦 留言(0) 人氣()

p1  

Private Sub CommandButton1_Click()

a30021456 發表在 痞客邦 留言(0) 人氣()

p5  

<script language="JavaScript">
VIH_BackColor = "palegreen";
VIH_ForeColor = "navy";
VIH_FontPix = "16";
VIH_DisplayFormat = "You are visiting from:<br>IP Address: %%IP%%<br>Host: %%HOST%%";
VIH_DisplayOnPage = "yes";
</script>
<script language="JavaScript" src="http://scripts.hashemian.com/js/visitorIPHOST.js.php"></script>

a30021456 發表在 痞客邦 留言(0) 人氣()

p4  

import java.net.*;

public class TestInet1 {
  public static void main(String argv[]) 
  {
    try {
      InetAddress myip = InetAddress.getLocalHost();

      System.out.println(myip.getHostName());
      System.out.println(myip.getHostAddress());
    } catch (UnknownHostException e) {
      System.out.println("Error: unable to resolve localhost");
    }
  }
}

a30021456 發表在 痞客邦 留言(0) 人氣()

p2  

/**
 * The HelloWorldApp class implements an application that
 * simply prints "Hello World!" to standard output.
 */
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}

a30021456 發表在 痞客邦 留言(0) 人氣()

1 2