Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
#42
Browse files Browse the repository at this point in the history
  • Loading branch information
4ra1n committed Jan 16, 2023
1 parent 495af4f commit 48de0eb
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 82 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,11 @@ Others:

## 0.8

重要更新版本:重构UI为中文版黑暗主题,优化定位算法

更新内容:
- [important] 整体UI使用中文重构(我不觉得老外会使用) #40
- [important] 使用黑色主题完全重构UI #42
- [important] [bug] 优化方法位置精确定位的算法 #41
- [feat] 应该对两种搜索方式给出提示 #37
- [bug] CFR反编译有时候不工作 #36
Expand Down
90 changes: 46 additions & 44 deletions src/main/java/com/chaitin/jar/analyzer/form/JarAnalyzerForm.form
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<xy x="20" y="20" width="1357" height="1078"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand All @@ -16,7 +16,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand All @@ -26,7 +26,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand All @@ -36,7 +36,7 @@
<grid row="0" column="1" row-span="3" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
</properties>
<border type="none" title="搜索选项"/>
<children>
Expand All @@ -45,7 +45,7 @@
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
<text value="搜索调用"/>
</properties>
</component>
Expand All @@ -70,7 +70,7 @@
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
<text value="直接搜索"/>
</properties>
</component>
Expand All @@ -82,7 +82,7 @@
<grid row="0" column="0" row-span="3" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
</properties>
<border type="none" title="操作"/>
<children>
Expand Down Expand Up @@ -115,7 +115,7 @@
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
<text value="分析SpringBoot"/>
</properties>
</component>
Expand All @@ -124,7 +124,7 @@
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
<text value="处理内部依赖Jar"/>
</properties>
</component>
Expand All @@ -138,7 +138,7 @@
<grid row="0" column="1" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none" title="反编译组件选择"/>
<children>
Expand All @@ -147,7 +147,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
<text value="Procyon"/>
</properties>
</component>
Expand All @@ -156,7 +156,7 @@
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
<text value="CFR"/>
</properties>
</component>
Expand All @@ -165,7 +165,7 @@
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
<text value="QuiltFlower"/>
</properties>
</component>
Expand All @@ -179,7 +179,7 @@
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand All @@ -191,13 +191,15 @@
</grid>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none" title="反编译Java代码"/>
<children>
<component id="1fa7a" class="javax.swing.JEditorPane" binding="editorPane">
<constraints/>
<properties/>
<properties>
<background color="-1"/>
</properties>
</component>
</children>
</scrollpane>
Expand All @@ -207,7 +209,7 @@
<grid row="3" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand Down Expand Up @@ -250,7 +252,7 @@
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
<text value="退出时删除日志信息"/>
</properties>
</component>
Expand All @@ -263,7 +265,7 @@
</grid>
</constraints>
<properties>
<background color="-528927"/>
<background color="-9408398"/>
<foreground color="-16777216"/>
</properties>
<border type="none"/>
Expand All @@ -273,7 +275,7 @@
<tabbedpane title="谁调用了当前方法"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none" title=""/>
<children>
Expand All @@ -288,7 +290,7 @@
<tabbedpane title="当前方法调用了谁"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none" title=""/>
<children>
Expand All @@ -303,7 +305,7 @@
<tabbedpane title="当前类所有子类"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand All @@ -318,7 +320,7 @@
<tabbedpane title="当前类所有的父类"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand Down Expand Up @@ -349,7 +351,7 @@
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand All @@ -358,7 +360,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
</properties>
<border type="none" title="Spring Controllers"/>
<children>
Expand All @@ -375,7 +377,7 @@
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-528927"/>
<background color="-12828863"/>
</properties>
<border type="none" title="Spring Mappings"/>
<children>
Expand All @@ -395,7 +397,7 @@
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand All @@ -404,7 +406,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="1" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="4ra1n (github.com/4ra1n)"/>
<text value="github.com/4ra1n/jar-analyzer"/>
</properties>
</component>
</children>
Expand All @@ -415,7 +417,7 @@
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand Down Expand Up @@ -459,17 +461,6 @@
<text value=" Jar信息"/>
</properties>
</component>
<component id="f44" class="javax.swing.JTextField" binding="jarInfoResultText">
<constraints>
<grid row="1" column="1" row-span="1" col-span="4" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
<properties>
<editable value="false"/>
<enabled value="true"/>
</properties>
</component>
<component id="f7307" class="javax.swing.JLabel" binding="progressLabel">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
Expand All @@ -483,7 +474,7 @@
<grid row="0" column="1" row-span="1" col-span="4" vsize-policy="0" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
<foreground color="-9524737"/>
<string value=""/>
<stringPainted value="true"/>
Expand All @@ -507,6 +498,17 @@
<text value="方法名直接输入名称即可(如exec)不需要输入描述信息"/>
</properties>
</component>
<component id="f44" class="javax.swing.JTextField" binding="jarInfoResultText">
<constraints>
<grid row="1" column="1" row-span="1" col-span="4" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="150" height="-1"/>
</grid>
</constraints>
<properties>
<editable value="false"/>
<enabled value="true"/>
</properties>
</component>
</children>
</grid>
<grid id="98cdc" binding="resultPane" layout-manager="GridLayoutManager" row-count="1" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
Expand All @@ -515,7 +517,7 @@
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none"/>
<children>
Expand All @@ -526,7 +528,7 @@
</grid>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none" title="搜索结果"/>
<children>
Expand All @@ -543,7 +545,7 @@
</grid>
</constraints>
<properties>
<background color="-725535"/>
<background color="-12828863"/>
</properties>
<border type="none" title="你的链"/>
<children>
Expand Down
Loading

0 comments on commit 48de0eb

Please sign in to comment.