嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 1 元微信扫码支付:1 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
自己主要是为了觉得电脑上工具太多,都放桌面上图标太多,不易管理。于是就自己用java写了个工具箱。布局采用的是javafx,须jdk8.0以上。在布局上没有那么多花里胡哨的,喜欢漂亮一点的小伙伴可以自行修改。
由于不知道是游览器的问你还是乍得,无法上次图片,我就直接贴一段的主要代码了。大家可自行扩展。
@Override
public void start(Stage aa) throws Exception {
// TODO Auto-generated aa stub
Button b1 =new Button("web工具");
Button b2 =new Button("网络操作系统");
Button b3 =new Button("单片机");
Button b4 =new Button("java");
Button b5 =new Button("其他");
Button b6 =new Button("");
Button b7 =new Button("");
AnchorPane anc =new AnchorPane();
anc.getChildren().addAll(b1,b2,b3,b4,b5);
anc.setPadding(new Insets(30));
anc.setLeftAnchor(b2, 100.0);
anc.setLeftAnchor(b3, 300.0);
anc.setLeftAnchor(b4, 400.0);
anc.setLeftAnchor(b5, 600.0);
anc.setTopAnchor(b1, 100.0);
anc.setTopAnchor(b2, 100.0);
anc.setTopAnchor(b3, 100.0);
anc.setTopAnchor(b4, 100.0);
anc.setTopAnchor(b5, 100.0);
Scene sc=new Scene(anc);
aa.setScene(sc);
aa.setWidth(800);
aa.setHeight(800);
aa.show();
b1.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent arg0) {
// TODO Auto-generated method stub
web();
}
});
b2.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
wangluochaozuoxitong();
}
});
b3.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
danpianji();
}
});
b5.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
qqqq();
}
});
}
public void yyyy(String aa){
Runtime run=Runtime.getRuntime();
try {
Process process=run.exec(aa);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public void web(){
Stage s1 =new Stage();
s1.setWidth(800);
s1.setHeight(800);
Button b1 =new Button("AWS");
Button b2 =new Button("子域名挖掘机3.1");
Button b3 =new Button("子域名挖掘机4.2");
Button b4 =new Button("子域名挖掘机5.0");
Button b5 =new Button("御剑后台");
Button b6 =new Button("御剑");
Button b7 =new Button("中国菜刀");
Button b8 =new Button("BurpSuiteCommunity");
Button b9 =new Button("k8");
Button b10 =new Button("小葵多功能转换工具");
Button b11 =new Button("zenmap");
Button b12 =new Button("UE");
Button b13 =new Button("");
Button b14 =new Button("");
GridPane gr =new GridPane();
gr.add(b1, 0, 0);
gr.add(b2, 1, 0);
gr.add(b3, 1, 1);
gr.add(b4, 1, 2);
gr.add(b5, 0, 1);
gr.add(b6, 0, 2);
gr.add(b7, 0, 3);
gr.add(b8, 2, 0);
gr.add(b9, 0, 5);
gr.add(b10, 3, 0);
gr.add(b11, 0, 4);
gr.add(b12, 3, 1);
Scene sc =new Scene(gr);
s1.setScene(sc);
s1.show();
b1.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\AWS\\Web Vulnerability Scanner 9\\wvs.exe");
}
});
b2.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\Layer子域名挖掘机\\Layer子域名挖掘机3.1 百万大字典 20151021\\Layer.exe");
}
});
b3.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\Layer子域名挖掘机\\Layer子域名挖掘机4.2纪念版\\Layer子域名挖掘机4.2纪念版\\Layer.exe");
}
});
b4.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\Layer子域名挖掘机\\Layer挖掘机5.0 SAINTSEC更新版\\子域名挖掘机5.0最新版\\Layer.exe");
}
});
b5.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\御剑\\御剑\\御剑\\御剑.exe");
}
});
b6.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\御剑\\御剑2\\御剑目录扫描\\御剑后台扫描工具.exe");
}
});
b7.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\中国菜刀\\中国菜刀-网站爬行版\\caidao.exe");
}
});
b8.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent arg0) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\BurpSuiteCommunity\\BurpSuiteCommunity\\BurpSuiteCommunity.exe");
}
});
b9.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent arg0) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\k8\\K8_C段旁注工具5.0\\K8_SideNote5.exe");
}
});
b10.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent arg0) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\小葵多功能转换工具\\小葵多功能转换工具.exe");
}
});
b11.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent arg0) {
// TODO Auto-generated method stub
yyyy("A:\\WEB\\工具\\zenmap\\anzhung\\Nmap\\zenmap.exe");
}
});
b12.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent arg0) {
// TODO Auto-generated method stub
yyyy("D:\\WFY\\UE\\anzhung\\UltraEdit");
}
});
}