欢迎访问我的个人网站==》 jiashubing.cn
摘要: 自己边尝试边摸索,间距都调不了,气的呀。如有不足,请指正! spacing 相当于 margin-top margin-bottomenvBox.setSpacing(20); insets 能设置上下左右间距btn1.setOpaqueInsets(new Insets(0, 10, 0, 0)) 阅读全文
posted @ 2023-03-31 17:07 贾树丙 阅读(430) 评论(0) 推荐(0) 编辑
摘要: Button successBtn = new Button("复制url地址"); successBtn.setCursor(Cursor.HAND); successBtn.setOnAction(event -> { event.consume(); ClipboardContent cont 阅读全文
posted @ 2023-03-31 17:01 贾树丙 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8" /> 5 <title>Div滚动到头以后置顶</title> 6 </head> 7 <body style="height:2000px;"> 8 <div style="he 阅读全文
posted @ 2023-03-31 16:53 贾树丙 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 有的时候啊,做定制化的项目,可以这么干,好用就行,别的管他呢。 String path = Thread.currentThread().getContextClassLoader().getResource("").getPath().replace("WEB-INF/classes/", "js 阅读全文
posted @ 2023-03-31 14:13 贾树丙 阅读(50) 评论(0) 推荐(0) 编辑