📄 main.java
字号:
/*
* Main.java
*
* Created on 2007年8月6日, 下午8:45
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package javaapplication5;
import javax.swing.JOptionPane;
/**
*
* @author xue hao
*/
public class Main {
/** Creates a new instance of Main */
public Main() {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
String output = "N 10*N 100*N 1000*N\n\n";
// Display the table body
for (int i = 1; i <= 5; i++)
{
output += i + " " + (i * 10) + " " + (i * 100) + " " + (i * 1000) + "\n";
}
// Display the output
JOptionPane.showMessageDialog(null, output);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -