⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testplot.java

📁 传感器网络中的嵌入式操作系统源代码
💻 JAVA
字号:
// $Id: testplot.java,v 1.1.4.2 2003/08/21 01:15:17 cssharp Exp $package net.tinyos.plot;import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.event.*;public class testplot {    public static void main (String[] args) throws Exception    {    	//UIManager.setLookAndFeel(	    //"com.sun.java.swing.plaf.windows.WindowsLookAndFeel");        JFrame window = new JFrame ("Java plot");		plotpanel p = new plotpanel();		//p.addFunction (new TestFunction(), Color.blue);		//p.addFunction (new TestFunction2(), Color.red);		window.getContentPane().setLayout (new BorderLayout());				p.setPreferredSize(new Dimension(500, 350));		window.getContentPane().add (new plotcontrolpanel(p), BorderLayout.NORTH);        window.getContentPane().add (p, BorderLayout.CENTER);		window.getContentPane().add (new plotformulapanel(p), BorderLayout.SOUTH);		window.pack (); 		window.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);         window.setVisible (true);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -