Skip to content

Commit

Permalink
更新icon
Browse files Browse the repository at this point in the history
  • Loading branch information
rememberber committed Oct 27, 2023
1 parent 09164a3 commit 0e5ed21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
<grid id="679bb" binding="javaConsolePanel" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<tabbedpane title="java"/>
<tabbedpane title="Java"/>
</constraints>
<properties/>
<border type="none"/>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/luoboduner/moo/tool/ui/form/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void init() {
mainWindow.getTabbedPane().setIconAt(12, new FlatSVGIcon("icon/translate.svg"));
mainWindow.getTabbedPane().setIconAt(13, new FlatSVGIcon("icon/schedule.svg", 15, 15));
mainWindow.getTabbedPane().setIconAt(14, new FlatSVGIcon("icon/reg.svg"));
mainWindow.getTabbedPane().setIconAt(15, new FlatSVGIcon("icon/java.svg", 15, 15));
mainWindow.getTabbedPane().setIconAt(15, new FlatSVGIcon("icon/java.svg"));

mainWindow.getQuickNotePanel().add(QuickNoteForm.getInstance().getQuickNotePanel(), gridConstraints);
mainWindow.getJsonBeautyPanel().add(JsonBeautyForm.getInstance().getJsonBeautyPanel(), gridConstraints);
Expand Down Expand Up @@ -167,7 +167,7 @@ public void init() {
tabbedPane.addTab("正则", new ImageIcon(getClass().getResource("/icon/reg.png")), regexPanel);
javaConsolePanel = new JPanel();
javaConsolePanel.setLayout(new GridLayoutManager(1, 1, new Insets(0, 0, 0, 0), -1, -1));
tabbedPane.addTab("java", javaConsolePanel);
tabbedPane.addTab("Java", javaConsolePanel);
}

/**
Expand Down
21 changes: 1 addition & 20 deletions src/main/resources/icon/java.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0e5ed21

Please sign in to comment.