同步操作将从 华南农业大学-吴春胤/ java2022spring 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
package UI.SimpleCalculatorUI;import UI.SimpleCalculatorUI.Panel.BottomPanel;import UI.SimpleCalculatorUI.Panel.SelectPanel;import javax.swing.*;import java.awt.*;/*** @ClassName:Win* @Description:基础计算器的窗口* @Author:LMD傻蛋* @Date:2022年5月18日 22 40* @version:v1.0*/public class Win extends JFrame {//窗体坐标与长度、宽度int Win_X;int Win_Y;int Win_Width;int Win_Height;public static BottomPanel bottomPanel;//声明基面板public static SelectPanel selectPanel = new SelectPanel();//选择面板public int getWin_X() {return Win_X;}public int getWin_Y() {return Win_Y;}public int getWin_Width() {return Win_Width;}public int getWin_Height() {return Win_Height;}public Win(int win_X, int win_Y, intwin_Width, int win_Height) throws HeadlessException {this.Win_X = win_X;this.Win_Y = win_Y;this.Win_Width = win_Width;this.Win_Height = win_Height;init();}public void init() {setBounds(Win_X, Win_Y, Win_Width, Win_Height);//设置窗体位置与大小bottomPanel = new BottomPanel(0, 0, Win_Width, Win_Height);add(bottomPanel);//添加底部面板setResizable(false);//不可缩放setUndecorated(true);//无标题setBackground(new Color(255, 255, 255, 0));//背景透明setLayout(null);setVisible(true);//可视化setDefaultCloseOperation(EXIT_ON_CLOSE);//点X关闭}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。