随笔分类 -  Java

就是他娘的java,还能有嘛描述?
摘要:首先还是展示架构 image用来存储图片,api请求token,changecode用来存放图片转base64的代码(base64->changecode),ui放界面,mian用于启动!!,其余是百度图像的专用工具,你们申请然后使用人家的接口时就能看到 image文件夹存储图片,里边的不叫imag 阅读全文
posted @ 2023-12-04 20:15 子过杨梅 阅读(6) 评论(0) 推荐(0) 编辑
摘要:首先是我的架构,分别是启动,百度api接口的调用文件,swing的界面设计文件 其中的依赖是酱紫的(自己敲) <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.8 阅读全文
posted @ 2023-12-04 19:23 子过杨梅 阅读(26) 评论(0) 推荐(0) 编辑
摘要:main.java public class main { static public void main(String[] a){ only_one k=only_one.get(); k.mess(); } } only_one.java public class only_one { stat 阅读全文
posted @ 2023-09-20 23:34 子过杨梅 阅读(4) 评论(0) 推荐(0) 编辑
摘要:index.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transiti 阅读全文
posted @ 2023-09-17 09:47 子过杨梅 阅读(5) 评论(0) 推荐(0) 编辑
摘要:package pack; import java.sql.Connection; import java.sql.DriverManager; public class Con { public static Connection getConnection() throws Exception 阅读全文
posted @ 2023-09-17 09:37 子过杨梅 阅读(5) 评论(0) 推荐(0) 编辑
摘要:今天手撸项目的时候,惊然发现一个问题 全局变量: static Vector<ArrayList> vector=new Vector<>(0); 某函数下: vector.add(nearby_poi); System.out.println(vector.get(vector.size()-1) 阅读全文
posted @ 2023-07-05 08:43 子过杨梅 阅读(9) 评论(0) 推荐(0) 编辑
摘要:它只是个下拉列表 阅读全文
posted @ 2023-07-02 09:07 子过杨梅 阅读(17) 评论(0) 推荐(0) 编辑
摘要:columnIdentifiers Vector,由多个列标识符组成 dataVector Vector,由包含多个 Object 值的 Vector 组成。 一个DefaultTableModel 就是一个二维表, 以下是使用函数: DefaultTableModel() 构造默认的 Defaul 阅读全文
posted @ 2023-07-02 08:38 子过杨梅 阅读(501) 评论(0) 推荐(0) 编辑
摘要:// Copyright (c) 2006 Damien Miller <djm@mindrot.org> // // Permission to use, copy, modify, and distribute this software for any // purpose with or w 阅读全文
posted @ 2023-05-18 21:26 子过杨梅 阅读(11) 评论(0) 推荐(0) 编辑
摘要:&nbsp; 阅读全文
posted @ 2023-04-28 21:20 子过杨梅 阅读(15) 评论(0) 推荐(0) 编辑
摘要:<a href="javascript:history.back(-1)"> 阅读全文
posted @ 2023-04-26 22:06 子过杨梅 阅读(7) 评论(0) 推荐(0) 编辑
摘要:<div id="pagination"> <%-- 显示翻页链接 --%> <%-- &les=<%=les%>&pu=<%=pu%>&stu=<%=stu%>--%> <a href="?page=<%= Math.max(1, currentPage - 1) %>&les=<%=les%>& 阅读全文
posted @ 2023-04-24 21:43 子过杨梅 阅读(14) 评论(0) 推荐(0) 编辑
摘要:<script type="text/javascript"> let titles=document.querySelectorAll('.Titlename'); for(let titlle of titles){ titlle.title=titlle.innerHTML; } </scri 阅读全文
posted @ 2023-04-21 21:58 子过杨梅 阅读(11) 评论(0) 推荐(0) 编辑
摘要:<style> html,body{ height: 100%; width: 100%; } </style> table就行了 阅读全文
posted @ 2023-04-20 21:30 子过杨梅 阅读(151) 评论(0) 推荐(0) 编辑
摘要:<script type="text/javascript"> let titles=document.querySelectorAll('.Titlename'); for(let titlle of titles){ titlle.title=titlle.innerHTML; } </scri 阅读全文
posted @ 2023-04-19 21:54 子过杨梅 阅读(9) 评论(0) 推荐(0) 编辑
摘要:对于那个只能访问一次的request,我用一个类封装两个字段List,分别是string字段和文件字段List,遍历一次request中的Item,按照不同的字段分别存在不同的List中,然后把装满字段的类返回到需要用到的页面 package get; import java.sql.Blob; p 阅读全文
posted @ 2023-04-17 16:43 子过杨梅 阅读(17) 评论(0) 推荐(0) 编辑
摘要:index.js function pageClick(k) { $(k).parent().find("div").removeClass("active"); $(k).addClass("active"); $("#flTitle").text($(k).text()); } /*! jQue 阅读全文
posted @ 2023-04-07 22:36 子过杨梅 阅读(15) 评论(0) 推荐(0) 编辑
摘要:body { margin: 0px; padding: 0px;} .left { background: #313541; width: 20%; float: left; position: absolute; top: 0px; bottom: 0px;} .top { width: 80% 阅读全文
posted @ 2023-04-07 22:33 子过杨梅 阅读(25) 评论(0) 推荐(0) 编辑
摘要://import java.util.random.*;import java.util.Random;import java.util.Scanner; public class main { Scanner S = new Scanner(System.in); static Random ra 阅读全文
posted @ 2023-03-07 21:19 子过杨梅 阅读(40) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2023-03-06 15:44 子过杨梅 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示