Skip to content

Commit

Permalink
Added about
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFlyingToasterman committed Mar 12, 2019
1 parent 5601949 commit 938551c
Show file tree
Hide file tree
Showing 16 changed files with 45 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/built-jar.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Tue, 12 Mar 2019 14:18:34 +0100
#Tue, 12 Mar 2019 14:27:33 +0100


/home/ldaphome/dmusiolik/git/LogShred=
Binary file modified build/classes/jshred/MainFrame$1.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame$10.class
Binary file not shown.
Binary file added build/classes/jshred/MainFrame$11.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame$2.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame$3.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame$4.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame$5.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame$6.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame$7.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame$8.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame$9.class
Binary file not shown.
Binary file modified build/classes/jshred/MainFrame.class
Binary file not shown.
Binary file modified dist/jshred.jar
Binary file not shown.
21 changes: 21 additions & 0 deletions src/jshred/MainFrame.form
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="jMenuItem6">
<Properties>
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor">
<KeyStroke key="Alt+I"/>
</Property>
<Property name="text" type="java.lang.String" value="Clear Infobox"/>
</Properties>
<Events>
Expand Down Expand Up @@ -81,6 +84,24 @@
</MenuItem>
</SubComponents>
</Menu>
<Menu class="javax.swing.JMenu" name="jMenu3">
<Properties>
<Property name="text" type="java.lang.String" value="About"/>
</Properties>
<SubComponents>
<MenuItem class="javax.swing.JMenuItem" name="jMenuItem7">
<Properties>
<Property name="accelerator" type="javax.swing.KeyStroke" editor="org.netbeans.modules.form.editors.KeyStrokeEditor">
<KeyStroke key="Alt+COMMA"/>
</Property>
<Property name="text" type="java.lang.String" value="About this tool"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jMenuItem7ActionPerformed"/>
</Events>
</MenuItem>
</SubComponents>
</Menu>
</SubComponents>
</Menu>
</NonVisualComponents>
Expand Down
23 changes: 23 additions & 0 deletions src/jshred/MainFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ private void initComponents() {
jMenu2 = new javax.swing.JMenu();
jMenuItem4 = new javax.swing.JMenuItem();
jMenuItem5 = new javax.swing.JMenuItem();
jMenu3 = new javax.swing.JMenu();
jMenuItem7 = new javax.swing.JMenuItem();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("LogShred");
Expand Down Expand Up @@ -213,6 +215,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
});
jMenu1.add(jMenuItem3);

jMenuItem6.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_I, java.awt.event.InputEvent.ALT_MASK));
jMenuItem6.setText("Clear Infobox");
jMenuItem6.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Expand Down Expand Up @@ -254,6 +257,19 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {

jMenuBar1.add(jMenu2);

jMenu3.setText("About");

jMenuItem7.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_COMMA, java.awt.event.InputEvent.ALT_MASK));
jMenuItem7.setText("About this tool");
jMenuItem7.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem7ActionPerformed(evt);
}
});
jMenu3.add(jMenuItem7);

jMenuBar1.add(jMenu3);

setJMenuBar(jMenuBar1);

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
Expand Down Expand Up @@ -427,6 +443,11 @@ private void jMenuItem6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FI
welcome();
}//GEN-LAST:event_jMenuItem6ActionPerformed

private void jMenuItem7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem7ActionPerformed
//About
JOptionPane.showMessageDialog(null, "This is free as in freedom Software under GPLv3.\nYou can find the Source here: https://www.GitHub.com/MrFlyingToasterman/LogShred\nThis is a Software from Secure Solutions: www.Secure-Solutions.org", "About LogShred", JOptionPane.INFORMATION_MESSAGE);
}//GEN-LAST:event_jMenuItem7ActionPerformed

/**
* @param args the command line arguments
*/
Expand Down Expand Up @@ -534,13 +555,15 @@ public static boolean isNum(String strNum) {
public static javax.swing.JList<String> jList2;
private javax.swing.JMenu jMenu1;
private javax.swing.JMenu jMenu2;
private javax.swing.JMenu jMenu3;
private javax.swing.JMenuBar jMenuBar1;
private javax.swing.JMenuItem jMenuItem1;
private javax.swing.JMenuItem jMenuItem2;
private javax.swing.JMenuItem jMenuItem3;
private javax.swing.JMenuItem jMenuItem4;
private javax.swing.JMenuItem jMenuItem5;
private javax.swing.JMenuItem jMenuItem6;
private javax.swing.JMenuItem jMenuItem7;
private javax.swing.JPanel jPanel1;
private javax.swing.JProgressBar jProgressBar1;
private javax.swing.JScrollPane jScrollPane1;
Expand Down

0 comments on commit 938551c

Please sign in to comment.