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

📄 c0a6c2df404f001d160dde6895aca61a

📁 学生管理系统.对学生信息管理的一个应用软件!
💻
字号:

import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
class Win3 extends Frame implements ActionListener
{
  JToolBar tool;
  JButton button1,button2,button3,button4,button5;

  Win3(String s)
	{
      super(s);
	  setBounds(100,100,650,550);
	  tool=new JToolBar();
	  button1=new JButton("系统管理");
	  button2=new JButton("学生管理");
	  button3=new JButton("课程管理");
	  button4=new JButton("成绩管理");
	  button5=new JButton("查询");
	  button1.addActionListener(this);
      button2.addActionListener(this);
      button3.addActionListener(this);
      button4.addActionListener(this);
      button5.addActionListener(this);
      
	  tool.add(button1);
	  tool.add(button2);
	  tool.add(button3);
	  tool.add(button4);
	  tool.add(button5);
	  
      this.add(tool);
      addWindowListener(new WindowAdapter()
		           { public void windowClosing(WindowEvent e)
	                   {System.exit(0);}
                   }
                 );
      setVisible(true);
	  validate();
	}
  public void actionPerformed(ActionEvent e)
  {   //if(e.getSource()==button1)
	   
  }
}
  public class ManagerWindows
{
	public static void main(String args[])
	{ Win3 win=new Win3("管理员信息界面");}
}

⌨️ 快捷键说明

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