SuperAdmin2.1ResponsiveAdminTemplateSuperAdminisapowerful-lightweightfullyresponsiveretinadisplaycompatibleadmintemplatebasedonBootstrap4.SuperAdmincomeswith10differentthemesandover40jQueryfullycustomizedplugins.SuperAdminisfullyResponsiveandadaptwellinanydevices.此压缩包内为1.0.3和2.1.2版本的html5+jquery版本源代码。
2.1.2版本浏览:http://byrushan.com/projects/super-admin/app/2.1.2/2.1.2版本购买:https://wrapbootstrap.com/theme/super-admin-responsive-admin-template-WB02N9M12
2023/12/8 15:37:21 18.36MB bootstrap 后台管理模板
1
DeepLinkDispatchDeepLinkDispatch提供基于声明的基于注释的API,以定义应用程序深层链接。
您可以通过使用@DeepLink和URI进行注释来注册Activity以处理特定的深层链接。
DeepLinkDispatch将解析URI并将深度链接与URI中指定的任何参数一起分发到适当的Activity。
例这是一个示例,其中我们注册SampleActivity以从深链接(例如example://example.com/deepLink/123提取ID。
我们用@DeepLink注释,并指定将使用id标识一个参数。
@DeepLink("example://example.com/deepLink/{id}")publicclassSampleActivityextendsActivity{@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);Intent
1
本文档里面涵盖了各种技术面试时候的基础问题,例如Java操作系统数据库等等知识。
2023/9/18 11:36:18 16.67MB 技术面试 web 后端
1
Android天气预报实验报告模板publicclassSetCityActivityextendsActivity{ //定义的一个自动定位的列表 privateListViewgpsView; //定义的一个省份可伸缩性的列表 privateExpandableListViewprovinceList; //定义的用于过滤的文本输入框 privateTextViewfilterText; //定义的一个记录城市码的SharedPreferences文件名 publicstaticfinalStringCITY_CODE_FILE="city_code"; //城市的编码 privateString[][]cityCodes; //省份 privateString[]groups; //对应的城市privateString[][]childs;//自定义的伸缩列表适配器privateMyListAdapteradapter;//记录应用程序widget的IDprivateintmAppWidgetId=AppWidgetManager.INVALID_APPWIDGET_ID; @OverridepublicvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.set_city);gpsView=(ListView)findViewById(R.id.gps_view);provinceList=(ExpandableListView)findViewById(R.id.provinceList);//设置自动定位的适配器gpsView.setAdapter(newGPSListAdapter(SetCityActivity.this));//==============================GPS=================================//当单击自动定位时gpsView.setOnItemClickListener(newOnItemClickListener(){ @Override publicvoidonItemClick(AdapterViewparent,Viewview, intposition,longid){ TextViewlocaleCity=(TextView)view.findViewById(R.id.locateCityText); localeCity.setText("正在定位..."); finalLocateHandlerhandler=newLocateHandler(localeCity); //添加一个线程来处理定位 newThread(){ publicvoidrun(){ MapcityMap=getLocationCityInfo(); //记录匹配的城市的索引 intprovinceIndex=-1; intcityIndex=-1; //传给处理类的数据封装对象 Bundlebundle=newBundle(); if(cityMap!=null){ //得到图家名 Stringcountry=cityMap.get(LocationXMLParser.COUNTRYNAME); //只匹配中国地区的天气 if(country!=null&&country.equals("中国")){ //得到省 Stringprovince=cityMap.get(LocationXMLParser.ADMINISTRATIVEAREANAME); //得到市 Stringcity=cityMa
2023/8/26 5:45:37 1.64MB 天气预报
1
图书馆图书管理系统主窗口:importjava.awt.*;importjava.awt.event.*;importjavax.swing.*;importmyClass.swing.*;publicclassMainWindowextendsJFrameimplementsActionListener{ JPanelpanel1;//panel2; Containerc; JMenuBarMenuB; JMenuSystemMenu,BookMGRMenu,BorrowBookMenu,ReturnBookMenu, InfoBrowseMenu,UserMGRMenu; JMenuItemUserLoginMenuItem,UserAddMenuItem,UserModifyMenuItem, UserDeleteMenuItem,ExitMenuItem,BookAddMenuItem,BookModifyMenuItem,BookDeleteMenuItem, BorrowBookMenuItem,BorrowInfoMenuItem,ReturnBookMenuItem,ReturnInfoMenuItem, BookListMenuItem,BorrowBookListMenuItem,UserListMenuItem; JLabeltitleLabel,AuthorLabel,DateLabel; publicMainWindow() { super("图书馆管理系统"); //--系统管理菜单-- MenuB=newJMenuBar(); SystemMenu=newJMenu("系统管理"); UserMGRMenu=newJMenu("用户管理"); UserLoginMenuItem=newJMenuItem("用户登录"); UserAddMenuItem=newJMenuItem("添加用户"); UserModifyMenuItem=newJMenuItem("修改用户"); UserDeleteMenuItem=newJMenuItem("删除用户"); ExitMenuItem=newJMenuItem("退出"); SystemMenu.add(UserLoginMenuItem); UserMGRMenu.add(UserAddMenuItem); UserMGRMenu.add(UserModifyMenuItem); UserMGRMenu.add(UserDeleteMenuItem); SystemMenu.add(UserMGRMenu); SystemMenu.add(ExitMenuItem); UserLoginMenuItem.addActionListener(this); UserAddMenuItem.addActionListener(this); UserModifyMenuItem.addActionListener(this); UserDeleteMenuItem.addActionListener(this); ExitMenuItem.addActionListener(this); MenuB.add(SystemMenu); //---书籍管理菜单-- BookMGRMenu=newJMenu("书籍管理"); BookAddMenuItem=newJMenuItem("添加书籍"); BookModifyMenuItem=newJMenuItem("修改书籍"); BookDeleteMenuItem=newJMenuItem("删除书籍"); BookMGRMenu.add(BookAddMenuItem); BookMGRMenu.add(BookModifyMenuItem); BookMGRMenu.add(BookDeleteMenuItem); BookAddMenuItem.addActionListener(this); BookModifyMenuItem.addActionListener(this); BookDeleteMenuItem.addActionListener(this); MenuB.add(BookMGRMenu); //--借书管理菜单-- BorrowBookMenu=newJMenu("借书管理"); BorrowBookMenuItem=newJMenuI
1
与大家分享一个Android订机票APP实例源代码,主要是实现出发地,目的地航空公司查询,订票查询等功能,编写方面,获取出发城市选择的选项并转换成文字,Bundle存取数据,如出发城市,到达城市。
出发日期等,向查询界面传送数据等。
  另外本代码的SQLiteOepnHelper子类当中必须有该构造函数,必须通过super调用父类当中的构造函数,只有调用了DatabaseHelper对象的getReadableDatabase()方法,或者是getWritableDatabase()方法之后,才会创建,或打开一个数据库。
2023/7/6 16:26:28 210KB Android源码-应用实例
1
用java编写的简易计算器实验报告实现计算器的加、减、乘、除等基本功能,参考Windows计算器增加多种功能,并处理异常。
privateJTextAreatext;//输入框privateJButtonbuttonBackspace,buttonCE,buttonC;//结果操作键privateJButtonbtn1,btn2,btn3,btn4,btn5,btn6,btn7,btn8,btn9,btn0;//数字键privateJButtonbtnMC,btnMR,btnMS,btnMAdd,btnMSub;//存储操作键privateJButtonbtnPlus,btnMinus,btnDivide,btnMultiply,btnEqual;//加减乘除等号键privateJButtonbtnPercent,btnSqrt,btnNegtive,btnReciprocal,btnDot;//"%",开方,"+/-",倒数,小数点……MainFrame(){super("计算器");setBounds(100,100,335,310);this.setDefaultCloseOperation(EXIT_ON_CLOSE);this.getContentPane().setLayout(newFlowLayout(FlowLayout.RIGHT));panel=newJPanel();panel2=newJPanel();gridpanelM=newJPanel();gridpanelR=newJPanel();gridpanelN=newJPanel();panel.setLayout(newBorderLayout(5,5));//水平垂直间距panel2.setLayout(newBorderLayout(5,5));gridpanelM.setLayout(newGridLayout(1,5,5,5));gridpanelR.setLayout(newGridLayout(1,3,5,5));gridpanelN.setLayout(newGridLayout(4,5,5,5));panel.add(gridpanelR,BorderLayout.NORTH);panel.add(panel2,BorderLayout.CENTER);panel2.add(gridpanelM,BorderLayout.NORTH);panel2.add(gridpanelN,BorderLayout.CENTER);this.getContentPane().add(text,BorderLayout.NORTH);this.getContentPane().add(panel,BorderLayout.SOUTH;………………}
2023/6/1 13:51:44 159KB java 计算器 实验报告
1
publicvoidonCreate(BundlesavedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout.main); //gethandlestotheLunarViewfromXML,anditsLunarThread jqView=(JunQiView)findViewById(R.id.Junqi_view); gameThread=jqView.getGameThread(); lineupListview=(ListView)findViewById(R.id.lineup_listview); lineupListview.setVisibility(View.INVISIBLE); //getLineupListviewData(); lineupListview.setOnItemClickListener(newAdapterView.OnItemClickListener(){ publicvoidonItemClick(AdapterViewparent,Viewview, intposition,longid){ onItemClickP(position); } });
2023/5/15 7:04:06 862KB 军棋
1
编写能够满足如下条件的程序:1 a声明一个Person类,有name(String类型)、age(int类型)、sex(char类型)属性。
通过构造方法进行赋值。
一个show方法,前往String类型,内容如下:某某男(女)年龄b声明一个Student类,继承Person类,增加id(int,学号)属性,通过构造方法,利用super调用父类构造方法来进行变量赋值。
Override父类的show方法,前往String类型,内容如下:某某男(女)年龄学号提示:利用super调用父类的show方法得到除学号部分的String,然后加上学号的信息。
c声明一个Teacher类,继承Person,增加course(String,所教课程)属性,通过构造方法,利用super调用父类构造方法来进行变量赋值。
Override父类的show方法,前往String类型,内容如下:某某男(女)年龄所教课程提示:利用super调用父类的show方法得到除所教课程部分的String,然后加上所教课程的信息。
d声明PersonApp类,在其中的main方法中分别声明Person、Student、Teacher类型的变量,并通过构造方法初始化,然后显示各自的信息。
2 声明一个Shape接口,其中有计算面积(area)、周长(perimeter)的方法,有以下几个实现:Circle(圆),Rectangle(矩形),Triangle(三角形),都有计算面积、周长的方法。
2023/3/17 0:07:01 63KB java 代码
1
这是用Java编写的一个简单的银行转账系统,包括取款,存款,转账等功能,其中用到了数据库的连接,采用Eclipse编写,包含数据库的设计文件。
非常适合有一定基础的Java初学者使用。
packagecom.gujunjia.bank;/**Tochangethistemplate,chooseTools|Templates*andopenthetemplateintheeditor.*/importjava.sql.*;/****@authorgujunjia*/publicclassDataBase{ staticConnectionconn; staticPreparedStatementst; staticResultSetrs; /** *加载驱动 */ publicstaticvoidloadDriver() { try { Class.forName("com.mysql.jdbc.Driver"); } catch(ClassNotFoundExceptione) { System.out.println("加载驱动失败"); } } /** *创建数据库的连接 * *@paramdatabase *需要访问的数据库的名字 */ publicstaticvoidconnectionDatabase(Stringdatabase) { try { Stringurl="jdbc:mysql://localhost:3306/"+database; Stringusername="root"; Stringpassword="gujunjia"; conn=DriverManager.getConnection(url,username,password); } catch(SQLExceptione) { System.out.println(e.getMessage()); } } /** *关闭数据库连接 */ publicstaticvoidcloseConnection() { if(rs!=null) {//关闭记录集 try { rs.close(); } catch(SQLExceptione) { e.printStackTrace(); } } if(st!=null) {//关闭声明 try { st.close(); } catch(SQLExceptione) { e.printStackTrace(); } } if(conn!=null) {//关闭连接对象 try { conn.close(); } catch(SQLExceptione) { e.printStackTrace(); } } }}packagecom.gujunjia.bank;/**Tochangethistemplate,chooseTools|Templates*andopenthetemplateintheeditor.*/importjava.awt.*;importjava.awt.event.*;importjavax.swing.*;/***本类次要实现整个系统的界面**@authorgujunjia*/publicclassMainFrameextendsJFrameimplementsActionListener,FocusListener{ /** * */ privatestaticfinallongserialVersionUID=1L; publicstaticStringuserId; JTextFielduserIdText; JPasswordFieldpasswordText; JButtonregisterButton; JButtonlogInButton; publicMainFrame() { super("个人银行系统
2020/11/9 14:44:46 132KB Java 银行转账
1
共 27 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡