• 2024-12-21JavaSwing 菜单栏
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-21JavaSwing SplitPane
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-21JavaSwing FileInput
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-17JavaSwing Dialog
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-09JavaSwing JTree
    packagecom.java.view;importjava.awt.Color;importjava.awt.Cursor;importjava.awt.Dimension;importjava.awt.FlowLayout;importjava.awt.Font;importjava.awt.event.ActionEvent;importjava.awt.event.ActionListener;importjava.awt.event.ItemEvent;
  • 2024-12-07JavaSwing JCombox
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-07JavaSwing JList
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-06JavaSwing JSlider
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-06JavaSwing JProcessBar
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-06JavaSwing JRadioButton
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-06JavaSwing JCheckBox
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-04JavaSwing JTextArea
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-04JavaSwing JTextField
    try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBorderStyle.osLookAndFeelDecorated;//UIManager.put("RootPane.setupButtonVisible",false);org.jb2011.lnf.beautyeye.BeautyEyeLNFHelpe
  • 2024-12-04JavaSwing JLabel
    JLabellabel=newJLabel();//设置标签文本label.setText("标签组件");//设置文本水平居中label.setHorizontalTextPosition(SwingConstants.CENTER);//设置文本上下居中label.setVerticalTextPosition(SwingConstants
  • 2024-12-03JavaSwing JButton
    JButtonbtn01=newJButton("btn01");//设置按钮图标//btn01.setIcon(newImageIcon(HelloWorld.class.getResource("/images/book.png")));//设置按钮被按下后图标//btn01.setPressedIcon(newImageIcon(HelloWorld.class.getRes
  • 2024-12-03JavaSwing 事件处理
    1.事件类型 2.ActionListener  a:如果同一个组件添加了多个监听器,则每个监听器都会被执行, 后添加监听器会先被执行!  b: 同一个监听器对象,可以监听多个组件!  try{BeautyEyeLNFHelper.frameBorderStyle=BeautyEyeLNFHelper.FrameBo
  • 2024-12-02JavaSwing外观美化
    系统可选风格 windows风格:  com.sun.java.swing.plaf.windows.WindowsLookAndFeel windowsClassic风格:  com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeelMetal风格(Swing默认):avax.swing.plaf.metal.MetalLookAndFeelMotif风格: com.sun.java.swin
  • 2024-12-09渗透测试人员的 Nmap:漏洞扫描零基础入门教程,网络安全看这一篇就够了!
    此文所提供的信息只为网络安全人员对自己所负责的网站、服务器等(包括但不限于)进行检测或维护参考,未经授权请勿利用文章中的技术资料对任何计算机系统进行入侵操作。利用此文所提供的信息而造成的直接或间接后果和损失,均由使用者本人负责。本文所提供的工具仅用于学习,禁止用
  • 2024-11-27《程序员修炼之道:从小工到专家》读书笔记 05
    软件设计与架构设计原则:SOLID原则:单一职责原则(SingleResponsibilityPrinciple)开放关闭原则(Open/ClosedPrinciple)里氏替换原则(LiskovSubstitutionPrinciple)接口隔离原则(InterfaceSegregationPrinciple)依赖反转原则(DependencyInversionPrinciple)设计模式:建议学习常
  • 2024-06-23Java/JavaSwing/课程设计及答辩
    是不是要课程设计了?是不是还没做完,还处在不会答辩和不懂原理的时期?救星来了!注意,JavaSwing已经是过时的东西,无需过多研究,仅用于课程设计,希望大家都能顺利通过!一、总体逻辑:    1.创建窗口对象    2.设置窗口样式    3.创建GUI组件对象    
  • 2024-06-20基于Java的图书管理系统源码( GUI+JavaSwing+MySql )
    基于Java的图书管理系统源码(GUI+JavaSwing+MySql)1、使用JavaSwing,Mysql实现2、IDEA编写,eclipse也可以运行(测试使用的IDEA24.1.3)3、测试环境:JDK1.8(JDK20),MySQL5.54、本项目实现了注册、登录、图书馆数据维护、新书订购、借阅管理、系统维护等功能=============
  • 2024-03-21基于javaswing的学生信息管理系统
    (解析+源码)基于JAVASwing+MySQL实现学生信息管理系统(增、删、改、查)数据库/文件存储_学生信息管理系统实现增删改查-CSDN博客 Nosuitabledriverfoundforjdbc:mysql:建表之后登录报错 原因是没有mysql的jar包 在项目右键buildpath 选择configureBulidpath 
  • 2023-12-13javaSwing的日期组件
    先看效果:1JToolBarjToolBar=newJToolBar();23DptLocalDatePickersearchDate=newDptLocalDatePicker(null,DateTimeFormatter.ofPattern("yyyy-MM-dd")){4@Override5publicDimensiongetMaximumSize(){
  • 2023-11-29javaswing 文本框的使用lambal表达式的应用
    package百度翻译实验;importjava.text.SimpleDateFormat;importjava.util.Date;importjavax.swing.JButton;importjavax.swing.JFrame;importjavax.swing.JLabel;importjavax.swing.JPanel;importjavax.swing.JTextField;publicclassframeextendsJFrame
  • 2023-11-29javaswing控件以及事件监听器
    package百度翻译实验;importjava.text.SimpleDateFormat;importjava.util.Date;importjavax.swing.JButton;importjavax.swing.JFrame;importjavax.swing.JLabel;importjavax.swing.JPanel;importjavax.swing.JTextField;publicclassframeextendsJFrame