📄 clinicbed.java
字号:
//临床工作站 调用medical and person
package src;
import java.lang.*;
import javax.swing.*;
import javax.swing.table.*;
import java.awt.*;
public class clinicBed extends JFrame{
public clinicBed(){
super("临时工作站");
setLocation(200,200);
setSize(650,400);
setResizable(false);
setBackground(Color.white);
setLayout(new BorderLayout());
//modify title image
ImageIcon title=new ImageIcon("images/pill.gif");
setIconImage(SwingResourceManager.getImage(clinicBed.class, "images/pill.gif"));
//add top image
JPanel jp0=new JPanel();
jp0.add(new JLabel(new ImageIcon("images/head2.gif")));
jp0.setBorder(BorderFactory.createEmptyBorder(0,1,0,1));
add("North",jp0);
//add two panel
JTabbedPane tabbedPane1=new JTabbedPane();
//tabbedPane1.addTab("登录个人信息",new person());
tabbedPane1.addTab("登录病例信息",new InputCase());
tabbedPane1.addTab("查询病例信息",new SearchSickInfo());
add("Center",tabbedPane1);
setVisible(true);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -