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

📄 showinfo.java

📁 码头船舶管理系统 适合初学者使用 J2SE的知识
💻 JAVA
字号:
import java.awt.Color;

import javax.swing.JFrame;
import javax.swing.JLabel;
public class ShowInfo {
	
	public ShowInfo(Customer c){
		JFrame frame = new JFrame("显示资料");
		String tt = new String(c.getName()+"  "+c.getTel()+"  "+c.getAddress()+"  "+c.getB().getId());
		JLabel lb = new JLabel(tt);
		frame.add(lb);
		lb.setForeground(Color.red);
		frame.setSize(300,100);
		frame.setVisible(true);
		
		
	}

}

⌨️ 快捷键说明

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