?? strategyplot.java
字號:
import java.awt.*;
import java.awt.event.*;
import java.util.*;
//swing classes
import com.sun.java.swing.text.*;
import com.sun.java.swing.*;
import com.sun.java.swing.event.*;
public class StrategyPlot extends JxFrame
implements ActionListener
{
Context context;
//--------------------------------------------
public StrategyPlot()
{
super("Strategy Plots");
JPanel jp = new JPanel();
getContentPane().add(jp);
context = new Context();
jp.add(new JBarButton(this, context));
jp.add(new JGraphButton(this, context));
setSize(new Dimension(300, 200));
setVisible(true);
}
//--------------------------------------------
public void actionPerformed(ActionEvent e)
{
Command comd =(Command)e.getSource();
comd.Execute();
}
//--------------------------------------------
static public void main(String[] argv)
{
new StrategyPlot();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -